[Catalyst] View::TT FILTERS and utf-8
apv
apv at sedition.com
Fri Dec 23 17:41:10 CET 2005
I've got utf-8 working fine for normal documents and PRE_PROCESS files
and such. I just ran into a snag with a built-in TT2 FILTER though.
[% utf_8_content %] prints fine.
[% utf_8_content | html_entity %] gets mangled (looks like the same
output as double encoded utf-8 but I'm not sure).
[% utf_8_content.replace('<', '<') %] and friends works fine.
Having the the Unicode plugin in or out made no difference. "use
encoding 'utf8'" or "use utf8" in the View also either made no
difference or added double encoding and broke even the plain stuff.
Any ideas where to fix this? Do I have to override the process()? I
really like relying on TT2 filters.
Thanks!
-Ashley
More information about the Catalyst
mailing list