[logback-user] TeeFilter modifies the encoding of the dataes

zuxiong lin linzuxiong1988 at gmail.com
Fri Sep 2 17:57:29 CEST 2011


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 at 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 at qos.ch
> http://qos.ch/mailman/listinfo/logback-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20110902/80c57b0a/attachment.html>


More information about the Logback-user mailing list