Check out Template::Provider::Encoding (and its document) on CPAN to
handle the template encoding issue nicely.
http://search.cpan.org/dist/Template-Provider-Encoding/

On 6/25/06, Aleksandar Petrovic <[EMAIL PROTECTED]> wrote:
Hello folks!

As subject says - I run into problems with UTF-8 templates.

I searched the Internet and found a quick solution - I just appended
use open 'utf8'; in Template::Provider and it works.

But I'm wondering why TT isn't doing the right thing on it's own.
Templates are saved as UTF-8 with a BOM - but they aren't outputed
(nor saved in cache folder) that way.

And of course I would like not having to change Template::Provider ...

--
Aleksandar Petrović
[EMAIL PROTECTED]

_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates



--
Tatsuhiko Miyagawa
ľéŠ•Ť^˛f˘–)ŕ–+-ľéŠ•Ť^˛×ŚŚV­zÚ(–H­˘¸!śÚţXŹśË^š™Zľëh˘Y"śŠŕţf˘–f§ţXŹś)ߣű^š™Zľë

Reply via email to