]
Posted At: Thursday, May 27, 2004 2:20 AM
Posted To: Tomcat Dev
Conversation: Can I change Tomcat's default character encoding?
Subject: RE: Can I change Tomcat's default character encoding?
Thank you for the answer.
I know about this possibility using filters (and I have done something
?
Lipi
-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 26, 2004 7:45 PM
To: 'Tomcat Users List'
Subject: RE: Can I change Tomcat's default character encoding?
Hi, quick response, you can use your own customized
OutputStreamWriter.
You
need
customized Writer.
Hope it helps:).
-Yan
-Original Message-
From: rlipi [mailto:[EMAIL PROTECTED]
Sent: May 27, 2004 03:20
To: 'Tomcat Users List'
Subject: RE: Can I change Tomcat's default character encoding?
Thank you for the answer.
I know about this possibility using filters (and I
-Original Message-
From: Yansheng Lin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 25, 2004 11:57 PM
To: 'Tomcat Users List'
Subject: RE: Can I change Tomcat's default character encoding?
Also you may have to change
your
OS default locale since JVM and Java Runtime uses system
work for Tomcat 4 and up, or any other container that
implement Servlet 2.3 and up.
-Yan
-Original Message-
From: rlipi [mailto:[EMAIL PROTECTED]
Sent: May 26, 2004 00:49
To: 'Tomcat Users List'
Subject: RE: Can I change Tomcat's default character encoding?
-Original Message
Tomcat uses parameter javaEncoding in $TOMCAT_HOME/conf/web.xml to define
Java file encoding. The default is utf-8. You can change it to your
preferred encoding so that the compiled java source from jsp file will use
your encoding.
You may have to define a encoding filter. Also you may have to
Allistair Crossley wrote:
We are having a host of problems with character encoding at the moment. Somehow
between the UI and the Struts Action our euro symbols are being turned into question
marks. I have fiddled with the JVM file.encoding, using JSP page directives for
content type and much