tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mariusz Wiktorczyk <kos...@fanthom.math.put.poznan.pl>
Subject Problem with character encoding.
Date Wed, 02 Apr 2003 14:53:06 GMT
Hi.
I have small web app with text fields (Struts <html:text/>). When user 
types some strange character from UTF-8
(see http://fanthom.math.put.poznan.pl/~kosmat/problem/source.jpg)
the output is different.
(see http://fanthom.math.put.poznan.pl/~kosmat/problem/result.jpg)
How can I force Tomcat to use UTF-8 character encoding?
(response.setContentType("text/html; charset=UTF-8"); and 
System.setProperty("file.encoding", "UTF-8"); does not work)

Mariusz Wiktorczyk
Tomcat 4.1.12 & Struts 1.1 RC1





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


Mime
View raw message