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 :
http://mail-archives.apache.org/mod_mbox/perl-modperl/200806.mbox/%3c485ea6ff.7090...@ice-sa.com%3e

Another with Mason :
http://www.cybaea.net/Blogs/TechNotes/Mason-utf-8-clean.html#h2_form_input

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)
embp...@thefreecat.org                       /\\
Independant Consultant and Developer        _\_V

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscr...@perl.apache.org
For additional commands, e-mail: embperl-h...@perl.apache.org

Reply via email to