Re: Tomcat 6 encoding issue

2009-11-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pramodpm, On 11/12/2009 4:49 AM, pramodpm wrote: > We are getting following error: > java.io.CharConversionException: Not an ISO 8859-1 character: <83>. > It is not just <83>. Sorry I missed those last time. > > java.io.CharConversionException: Not

Re: Tomcat 6 encoding issue

2009-11-12 Thread Elli Albek
You can try forcing the JVM to start with UTF 8 using a JVM parameter. -Dfile.encoding=UTF-8 Where you put it depends on how you start tomcat, I think JAVA_OPTS will do it. This is quick and may work. You can also try to force the servlet output stream to be in the encoding that you want from your

Re: Tomcat 6 encoding issue

2009-11-12 Thread André Warnier
Konstantin Kolinko wrote: 2009/11/12 pramodpm : We are getting following error: java.io.CharConversionException: Not an ISO 8859-1 character: <83>. It is not just <83>. Sorry I missed those last time. We are working with java6. If I use tomcat 5.5.23 it is working... But we would like to use t

Re: Tomcat 6 encoding issue

2009-11-12 Thread Konstantin Kolinko
2009/11/12 pramodpm : > > We are  getting following error: > java.io.CharConversionException: Not an ISO 8859-1 character: <83>. > It is not just <83>. Sorry I missed those last time. > > We are working with java6. If I use tomcat 5.5.23 it is working... But we > would like to use the tomcat 6. >

Re: Tomcat 6 encoding issue

2009-11-12 Thread pramodpm
We are getting following error: java.io.CharConversionException: Not an ISO 8859-1 character: <83>. It is not just <83>. Sorry I missed those last time. We are working with java6. If I use tomcat 5.5.23 it is working... But we would like to use the tomcat 6. awarnier wrote: > > pramodpm wrot

Re: Tomcat 6 encoding issue

2009-11-12 Thread André Warnier
pramodpm wrote: We are facing an encoding issue in apache-tomcat-6.0.20. This is working in tomcat 5.5.23. We are trying to make a get request to external site. The page contains some utf-8 characters. No. The page probably contains Unicode characters, all encoded in the UTF-8 encoding. W

Re: Tomcat 6 encoding issue

2009-11-11 Thread Elli Albek
Which library are you using to get the external page? java.net? HttpClient? What do you do with the page that you download? It looks from the exception that you are writing it to the servlet IO, is that the case? Are both of your tomcats running on the same JVM version? E On Wed, Nov 11, 2009 a