Blesson Paul wrote:
> > I have an issue with Polish character ś. This
> > charecter is corrupted when it is outputed through
> > HTML::Template->output().
> >
> > Only this charecter is causing the issue. Rest of them
> > are fine. Is there any solution to solve this
ś is an "s-acute", right? "ś" to be exact.
It works here using this test script in a utf8-xterm:
perl -MHTML::Entities -MHTML::Template -e '$a=decode_entities("ś");
$c=q{<TMPL_VAR NAME="t">}; $b=HTML::Template->new(scalarref=>\$c);
$b->param("t"=>$a); binmode(STDOUT, ":utf8"); print $b->output;'
When I pipe the output of this script into "od -t x1" I get the correct
output "c5 9b".
Does it only happen when run inside
-Sven
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Html-template-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/html-template-users