TeeFilter modifies the encoding of the dataes

Hello *, I have observed that the use of TeeFilter corrupts the accents in my http webpages. Surely we have the same problem as the one described for the RequestDumpValve in the bug https://issues.apache.org/bugzilla/show_bug.cgi?id=40177. Can somebody confirm it? Is it possible to bypass the problem? Tanks Olivier Faucheux forcont business technology gmbh

Hi Olivier, First time I hear of this issue. Could you please pursue it and propose a patch? -- QOS.ch, main sponsor of cal10n, logback and slf4j open source projects, is looking to hire talented software developers. For further details, see http://logback.qos.ch/job.html On 01/09/2011 4:49 PM, Olivier Faucheux wrote:
Hello *, I have observed that the use of TeeFilter corrupts the accents in my http webpages. Surely we have the same problem as the one described for the RequestDumpValve in the bug _https://issues.apache.org/bugzilla/show_bug.cgi?id=40177_. Can somebody confirm it? Is it possible to bypass the problem? Tanks Olivier Faucheux forcont business technology gmbh

Hi Ceki, I can reproduce the problem with a simple example. Exactly as the RequestDumperFilter, the TeeFilter makes the call of "request.setCharacterEncoding()" in a servlet unusable. The characters are not send anymore as UTF-8 but as Latin-1. More over: the output is now chunked: Transfer-Encoding: chunked Why? Regards Olivier Faucheux forcont business technology gmbh

your file HelloWorldExample.java is ANSI... You can try the diff java files one file utf-8 , other ansi or iso8859-1 and Charaset.getDefault... () 2011/9/2 Olivier Faucheux <Olivier.Faucheux@forcont.de>
Hi Ceki,
I can reproduce the problem with a simple example. Exactly as the RequestDumperFilter, the TeeFilter makes the call of "request.setCharacterEncoding()" in a servlet unusable. The characters are not send anymore as UTF-8 but as Latin-1.
More over: the output is now chunked: Transfer-Encoding: chunked
Why?
Regards Olivier Faucheux forcont business technology gmbh
_______________________________________________ Logback-user mailing list Logback-user@qos.ch http://qos.ch/mailman/listinfo/logback-user
participants (3)
-
Ceki Gülcü
-
Olivier Faucheux
-
zuxiong lin