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

Bernard FRIT bernard.frit at gmail.com
Mon Jan 9 17:16:18 CET 2006


2006/1/9, A. Pagaltzis <pagaltzis at gmx.de>:
> 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…

Thanks for explaining that. In fact, I experienced erroneous char
rendering when not explicitely specifying iso-8859-1 (with Firefox 1.7
, IE6 is OK).

Regards,
--
Bernard FRIT


More information about the Catalyst mailing list