[Catalyst] View::TT FILTERS and utf-8

A. Pagaltzis pagaltzis at gmx.de
Mon Jan 9 15:58:47 CET 2006


Hi Bernard,

* Bernard FRIT <bernard.frit at gmail.com> [2006-01-09 15:40]:
>Even if setting up charset to iso-8559-1 solved the problem, I
>'m concerned by the fact that the output is not html safe. It
>produces chars > 127 in place of escaped html chars as
>&eacute;...

“HTML safe?” If the charset is ISO-8859-1, you can “safely” use
all characters from ISO-8859-1. That includes accented characters
and umlauts. Escaping all characters > 127 is only necessary if
the encoding is US-ASCII.

Note that the default encoding for text/html, if none other is
explicitly specified, is ISO-8859-1…

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>



More information about the Catalyst mailing list