cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14327] - [PATCH] JSPEngineImpl response charset should be specified with Content-Type.
Date Sat, 07 Jun 2003 23:06:26 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14327>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14327

[PATCH] JSPEngineImpl response charset should be specified with Content-Type.





------- Additional Comments From vgritsenko@apache.org  2003-06-07 23:06 -------
The contract between JSPEngineImpl and users of it is that it *must* return UTF8
encoded output, *always*.

After that, users of JSPEngineImpl can recode this into any encoding they want.
In particular, JSPGenerator won't recode at all, it will just parse this as UTF8
encoded XML. JSPReader can recode based on configuration parameters passed from
the sitemap or can use any other mechanism.

See also
http://cvs.apache.org/viewcvs.cgi/cocoon-2-historical/src/org/apache/cocoon/components/jsp/Attic/JSPEngineImpl.java?hideattic=0

Mime
View raw message