(sorry for sending to you Josh instead of the list.  I miss my Mutt.)

On Wed, Oct 14, 2009 at 10:36 AM, Bill Moseley <[email protected]> wrote:

>
>
> On Wed, Oct 14, 2009 at 10:11 AM, Josh Rosenbaum <[email protected]>wrote:
>
>>
>>  What you should probably be doing is making sure all your data is in utf8
>> format wherever it is stored and that all output specifies the utf8
>> character set.
>>
>
> Template->new option ENCODING => 'UTF-8' to say your templates are utf8.
> Then make sure you encode_utf8() the output from TT before sending the
> response.
>
>
>> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
>>
>
> Also, IIRC, the HTTP headed takes precedence.  So make sure they match.
>
>  "use utf8" if you have utf8 text in your Perl source code.  Hopefully, all
> your text comes from templates and other data sources, though.
>
> --
> Bill Moseley
> [email protected]
>



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

Reply via email to