[Catalyst] Catalyst Unicode woes ...

Tobias Kremer list at funkreich.de
Thu Aug 9 13:56:31 GMT 2007


Zitat von Tatsuhiko Miyagawa <miyagawa at gmail.com>:
> Similarly even if your templates are encoded in utf-8,
> Template-Toolkit doesn't know which encoding they are in, until you
> set BOM to your templates or use Template::Provider::Encoding to
> explicitly specify the encoding to decode the template.

I just found the (undocumented?) "ENCODING" configuration option in
Template::Provider. Setting this to "utf-8" makes the templates appear
correctly with C::P::Unicode loaded. Is there still a need for
Template::Provider::Encoding?

--Tobias



More information about the Catalyst mailing list