Re: [htmltmpl] apache and html template
Brought to you by:
samtregar
|
From: Sven N. <sve...@sv...> - 2007-07-13 07:24:42
|
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
|