[Catalyst] Catalyst Unicode woes ...

Matt S Trout dbix-class at trout.me.uk
Thu Aug 9 15:32:01 GMT 2007


On Thu, Aug 09, 2007 at 02:56:31PM +0200, Tobias Kremer wrote:
> 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?

Ooh. doc patch to View::TT ?

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director    Want a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/                    http://www.shadowcat.co.uk/ 



More information about the Catalyst mailing list