[Catalyst] Re: Double encoded UTF in config and string constants

Aristotle Pagaltzis pagaltzis at gmx.de
Sat Nov 5 19:18:52 GMT 2011


* Alex Povolotsky <tarkhil at over.ru> [2011-11-05 11:05]:
> What's more strange for me, manually upgrading string to UTF-8 with
> utf8::upgrade does not help.

utf8::upgrade only changes the internal storage format of the string but
not its meaning. If it contained encoded text before, it will still
contain encoded text afterwards. If you want the decoded text, you have
to decode the string, not upgrade it.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>



More information about the Catalyst mailing list