tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32500] - specific text-encoding ignored for dynamically generated text
Date Sat, 04 Dec 2004 20:40:44 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32500>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32500





------- Additional Comments From ranlevy@yahoo.com  2004-12-04 21:40 -------
Thanks.

Notice that for JSP pages we can state explicitly what encoding should be used
for character strings they contain (by setting the appropriate value in
<%@ page contentType =...>

However, we cannot assign such encoding to servlet code (although if it is
typed-in in the same environment and same text-editor as its associated JSP
pages). So characters strings that originate in servlet code and transferred
to a JSP page will not be encoded correctly, unless the servlet explicitly
does the conversion. The risk is that instead of focusing on servlet logic,
servlet code will be cluttered with encoding conversions over and over again.

In my opinion this is an anomally (I do not think that the spec relate to this).
Thanks a lot.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message