cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <>
Subject JSPEngine & encodings
Date Tue, 18 Dec 2001 22:30:20 GMT
Hi all,

I'm working on a bug #4239

The reason of this bug is that characters of the page is being
re-encoded from its original encoding into system's character set by
PrintWriter instantiated in MyServletOutputStream, and then InpoutSource
tries to read it as UTF-8 byte stream - generating an Exception or
corrupted result.

The possible solution is to always re-encode JSP's character stream into
UTF-8, and set UTF-8 encoding for InputSource used to parse JSP.

Please let me know is this solution is acceptable or not; may there are
some hidden caveats related with this.

PS Dims, CCing to you - as you are in authors :)


To unsubscribe, e-mail:
For additional commands, email:

View raw message