[Catalyst] More unicode problems (uri_for)
Andrew Rodland
arodland at comcast.net
Fri Dec 28 16:56:45 GMT 2007
On Monday 24 December 2007 07:58:34 am Knut-Olav Hoven wrote:
> I wasn't very clear on this, sorry.
> "Check my å" is not inside the code, it comes from my "po/mo"-files (i18n).
>
> It looks actually more like this:
>
> $c->redirect(
> $c->uri_for(
> '/login',
> {error_msg => $c->loc("Check my magic")}
> );
> );
>
> po-file (utf8 encoded):
> msgid "Check my magic"
> msgstr "Check my å"
pofiles have a Content-Type header/declaration/whatever. Does your .po file
declare itself as
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
?
Andrew
More information about the Catalyst
mailing list