On Tue, Feb 14, 2006 at 06:23:03PM +0100, Paul POULAIN wrote:
> If I follow my variables, I always have \xc3\xa9 and other byte 
> representations.
> I send them to a HTML::Template, then ->output, and...
> it's now iso8859-1 ! (If I switch manually the firefox page to iso8859-1 
> the çàé are now correct !)
> 
> I'll investigate and let you know, unless someone has something to 
> suggest...

Be careful here. iso-8859-1 and unicode share the first 255 character
codes, so that these things often look the same. But this will break as
soon as you get to a character code that is not available in iso-8859-1,
for example a greek character, or a chinese one.

Perl tries to be clever behind the scenes; some times it tries to
convert to or from utf-8. I never sorted out the gory details, but I
know people have had problems with it. I have no idea what
HTML::Template assumes...

Anyway, this is getting a bit off the topic of zebra.

Regards

  Heikki 

-- 
Heikki Levanto    heikki at indexdata dot dk   "In Murphy We Turst"

Reply via email to