[Jifty-commit] r508 - jifty/trunk/share/web/templates/__jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Sun Jan 15 13:50:32 EST 2006
Author: autrijus
Date: Sun Jan 15 13:50:31 2006
New Revision: 508
Modified:
jifty/trunk/share/web/templates/__jifty/autocomplete.xml
jifty/trunk/share/web/templates/__jifty/validator.xml
Log:
* force charset to UTF8 for both __jifty xml utils.
Modified: jifty/trunk/share/web/templates/__jifty/autocomplete.xml
==============================================================================
--- jifty/trunk/share/web/templates/__jifty/autocomplete.xml (original)
+++ jifty/trunk/share/web/templates/__jifty/autocomplete.xml Sun Jan 15 13:50:31 2006
@@ -2,7 +2,7 @@
# Note: the only point to this file is to set the content_type; the actual
# behavior is accomplished inside the framework. It will go away once we
# have infrastructure for serving things of various content-types.
-$r->content_type('text/xml');
+$r->content_type('text/xml; charset=UTF-8');
my $ref = Jifty->web->response->result('autocomplete')->content;
my @options = @{$ref->{'completions'}||[]};
</%init>
Modified: jifty/trunk/share/web/templates/__jifty/validator.xml
==============================================================================
--- jifty/trunk/share/web/templates/__jifty/validator.xml (original)
+++ jifty/trunk/share/web/templates/__jifty/validator.xml Sun Jan 15 13:50:31 2006
@@ -1,5 +1,5 @@
<%init>
-$r->content_type('text/xml');
+$r->content_type('text/xml; charset=UTF-8');
my $output = "";
use XML::Writer;
More information about the Jifty-commit
mailing list