[Catalyst] Catalyst Unicode woes ...
list at funkreich.de
Thu Aug 9 15:42:53 GMT 2007
> ENCODING: UTF-8
> Template provider will see you are running a modern Perl (UNICODE flag
> in provider) and then look for a Byte Order Mark. If not found it
> will then decode your content based on the ENCODING setting.
> No, you don't need Template::Provider::Encoding if you only have one
> encoding in your templates.
> Yes you need Unicode (or the older Unicode::Encoding) plugin so that
> input params are decoded and output is encoded back to utf8.
Yes, it all starts to make sense :) Thanks for all the great clarifications.
MyApp is working fine now with C::P::Unicode and the ENCODING setting. By the
way, does anybody know why the ENCODING option is undocumented? IMHO, it really
should be mentioned in the Catalyst::Manual alongside some best-practice for
Unicode. Use C::P::Unicode and ENCODING: UTF-8 should be enough for most people
More information about the Catalyst