[Templates] About UNICODE and ENCODING

Tomita n.tomita at gmail.com
Sun Jul 27 17:00:48 BST 2008


On Mon, Jul 28, 2008 at 00:26, Bill Moseley <moseley at hank.org> wrote:

>
> Again UNICODE is automatically set based on your Perl version.  I
> assume this is to determine if your Perl has the Encode module.
> (Seems checking for Encode.pm might be a better approach.)  Thus,
> UNICODE is not something users need to normally set.

oh, I was missing that "automatically set" about UNICODE. thanks Bill.


> So, with a modern Perl version all you have to do is make sure your
> templates have a BOM and Template::Provider will decode it w/o any
> configuration requirements.[1]
>
> IF your templates do not have a BOM, then you can set
> "ENCODING" to *force* your templates to be decoded.

hmm clearly. thanks!

--
Tomita



More information about the templates mailing list