tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Brazhnyk" <>
Subject [PATCH] Writer encoding in CompressionServletResponseWrapper
Date Tue, 09 Jul 2002 09:05:00 GMT

Applying compression filter to response with non-default character encoding will mess the
The reason is CompressionServletResponseWrapper.getWriter() returns writer with system-default
In my case response is UTF-8 and system-default encoding is ISO-something (Latin-1). I get
bunch of '?' instead of Cyrillic characters.

Attached patch fixes the problem.

Regards, Anton
View raw message