You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "pascal.barbedor@laposte.net" <pa...@laposte.net> on 2002/09/09 18:03:32 UTC
weird bug in Apache::Filter with UTF-8
Hi
under perl561/modperl 1
I have 2 modules in an apache filter context
perlhandler module1 module2
module1 prints some text
partly hardcoded normal (but accented) text
partly from an XML::XPath instruction (UTF-8 codeset but
inside the ascii 127)
- if module1 is alone the output is ok
- with module 2 :
*dumped to file module1 output is correct (iso)
*module2 through Apache::Filter receives module1 output all
translated in UTF-8, even the hardcoded text (like an UTF-8
contamination to all the text)
the same thing printed to a file and to STDOUT (tied by
Apache::Filter), is in first case normal, in 2d case all UTF-8.
thanks for any help
pascal
Accédez au courrier électronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,13 /mn) ; tél : 08 92 68 13 50 (0,34/mn)"