[Jifty-commit] r2764 -
jifty/branches/template-declare/lib/Jifty/View/Declare
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Thu Feb 8 03:53:33 EST 2007
Author: audreyt
Date: Thu Feb 8 03:53:33 2007
New Revision: 2764
Modified:
jifty/branches/template-declare/lib/Jifty/View/Declare/CoreTemplates.pm
Log:
* CoreTemplates: Decode UTF8 before sending it out as XML.
Modified: jifty/branches/template-declare/lib/Jifty/View/Declare/CoreTemplates.pm
==============================================================================
--- jifty/branches/template-declare/lib/Jifty/View/Declare/CoreTemplates.pm (original)
+++ jifty/branches/template-declare/lib/Jifty/View/Declare/CoreTemplates.pm Thu Feb 8 03:53:33 2007
@@ -1440,7 +1440,11 @@
}
$writer->endTag();
- Jifty->handler->apache->content_type('text/xml; charset=utf-8');
+ Jifty->handler->apache->content_type('text/xml; charset=UTF-8');
+
+ # For some reason, this line is needed, lest we end up outputting ISO-8859-1 text
+ utf8::decode($output);
+
outs_raw($output);
};
More information about the Jifty-commit
mailing list