You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/10/20 11:10:28 UTC
DO NOT REPLY [Bug 23929] New: -
request.setCharacterEncoding(String) doesn't work
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=23929>.
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=23929
request.setCharacterEncoding(String) doesn't work
Summary: request.setCharacterEncoding(String) doesn't work
Product: Tomcat 5
Version: 5.0.12
Platform: PC
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Other
Component: Servlet & JSP API
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: michal-apache@krause.cz
I use following construction to set request character encoding:
if (request.getCharacterEncoding() == null) {
request.setCharacterEncoding("ISO8859-2");
}
In older versions of Tomcat (5.0.7 tested) everything works fine but in version
5.0.12 this construction changes nothing - ISO8859-2 characters in parameter
values are replaced with "?".
$ java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org