Hello tt and perl unicode gurus :).

I have the following problem: all my templates in utf8 and when I pass
an utf8 variable to template and then use it in TT code, for example
like this:
FIELD:[% field %] the following magic happens:

When 'field' variable doesn't have utf8 flag ( check with
Encode::is_utf8 ), it works fine. But when 'field' has utf8 flag all
template text except [% field %] ("FIELD:" in example above) becomes
unreadable (like this: "__"). Page is displayed in utf8.

Thanks for advice.

-- 
WBR dyker
Agava Software

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

Reply via email to