[Catalyst] Problem with Catalyst::Plugin::I18N using UTF-8
Brian Cassidy
brian.cassidy at nald.ca
Fri Dec 21 18:31:09 GMT 2007
Knut-Olav Hoven wrote:
> There are some problems when translating with Catalyst::Plugin::I18N using
> special unicode characters like "æøå".
>
> It got printed (both in console/debugging) and in web browser) as unprintable
> characters (displayed as "?"). Manually changing encoding in Firefox to
> ISO-8859-1 made it look right, but the rest of the page is using UTF-8, so
> this was a no-go solution for me.
>
> The solution I found to this was to change line 65 of Catalyst/Plugin/I18N.pm
> (version 0.06), changed the Decode attribute given
> to "Locale::Maketext::Simple" from 1 to 0.
I'm using the I18N plugin with unicode characters just fine. Your
work-around seems suspect to me.
Are you using the Unicode plugin? If not, try adding that to the mix and
see if that makes things jive for ya.
-Brian
More information about the Catalyst
mailing list