RE: the tomcat encoding

2010-11-17 Thread Rob Gregory
:19 To: Tomcat Users List Subject: Re: the tomcat encoding -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rob, On 11/16/2010 4:31 AM, Rob Gregory wrote: I also use a filter to set the following:- request.setCharacterEncoding(UTF-8); response.setContentType(text/html; charset=UTF-8

RE: the tomcat encoding

2010-11-16 Thread Rob Gregory
: the tomcat encoding hi all: I wrote an app and there are some chinese content, and there are some code like this str = new String(chineseContentString.getBytes(iso-8859-1), utf-8); the app runs pretty well in the tomcat of my pc. however ,when it was deployed in other machine. all

Re: the tomcat encoding

2010-11-16 Thread Mark Thomas
On 16/11/2010 05:59, xu cheng wrote: so ,does anyone know how to got to encoding of the tomcat. or it was just iso-8859-1 and cannot be changed? http://wiki.apache.org/tomcat/FAQ/CharacterEncoding Mark - To unsubscribe,

Re: the tomcat encoding

2010-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rob, On 11/16/2010 4:31 AM, Rob Gregory wrote: I also use a filter to set the following:- request.setCharacterEncoding(UTF-8); response.setContentType(text/html; charset=UTF-8); response.setCharacterEncoding(UTF-8); FWIW, you shouldn't

Re: the tomcat encoding

2010-11-16 Thread xu cheng
hi: thanks, the problem is that my tomcat interact with other server and the server use somekind of encoding that is different. and after the encoding is transfered .it works now thanks 2010/11/17 Christopher Schultz ch...@christopherschultz.net -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

the tomcat encoding

2010-11-15 Thread xu cheng
hi all: I wrote an app and there are some chinese content, and there are some code like this str = new String(chineseContentString.getBytes(iso-8859-1), utf-8); the app runs pretty well in the tomcat of my pc. however ,when it was deployed in other machine. all the Chinese content becomes messy

change/set tomcat encoding

2007-07-02 Thread Vaduvoiu Tiberiu
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. Googling the problem, I've read a couple of articles on mailing

RE: change/set tomcat encoding

2007-07-02 Thread Caldarale, Charles R
From: Vaduvoiu Tiberiu [mailto:[EMAIL PROTECTED] 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