perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Christophe Boggio <>
Subject Re: Encoding problem
Date Thu, 22 Apr 2010 00:53:14 GMT
Hi Gerald,

Gerald Richter - ECOS a écrit :
> setting the default encoding in the httpd.conf to utf8 might help

I already have :
   AddDefaultCharset UTF-8
in my httpd.conf.

I tried to add it to my <directory.../> directives and also
   AddCharset utf-8 .html
With no more luck.

I found other people describing this kind of symptom, one using CGIs :

Another with Mason :

Both use decode() functions (which works for me too) but I guess they are
converting the encoding back and forth... I don't even know if this is related.

Are we supposed to get utf8-stamped $fdat{xx} variables when the input is accentuated
and the form/page are utf-8 ?

Thanks for your help,

PS: I rewrote the "fix" in a more "monky" way :

Encode::_utf8_on($fdat{$_}) for keys %fdat;

Jean-Christophe Boggio                       -o)                       /\\
Independant Consultant and Developer        _\_V

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message