tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: change/set tomcat encoding
Date Mon, 02 Jul 2007 13:00:51 GMT
> From: Vaduvoiu Tiberiu [mailto:vaduvoiutibi@yahoo.com] 
> Subject: change/set tomcat encoding
> 
> I'm having problem with tomcat encoding. I have some xml 
> files that have encoding utf-8 but when I do a slide search, 
> I get some errors because(or at least I think because) by 
> default, Tomcat uses ISO-8859-1 character encoding.

As required by the HTTP RFC.  Take a look at the FAQ entry:
http://tomcat.apache.org/faq/misc.html#tomcat5CharEncoding

> How can I change the default character encoding in Tomcat to utf-8? 

Look at Mark T's summary (linked from the above):
http://issues.apache.org/bugzilla/show_bug.cgi?id=23929

Also make sure your .xml files are really stored in UTF-8.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message