cocoon-dev mailing list archives

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

I'm working on a bug #4239
(http://nagoya.apache.org/bugzilla/show_bug.cgi?id=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 :)

Vadim


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message