The original post was this: http://mail-archives.apache.org/mod_mbox/tomcat-users/200703.mbox/%3cBAY103- [EMAIL PROTECTED] (text also quoted below)
I have tested it with Eclipse 3.2 and Tomcat 6 (jre1.5.0_10), with chinese, korean and hebrew characters, it works... Which Tomcat and JDK version are you using? I can do a further test... ;-) There might also be some conversion of the file before it is stored and compiled at the server... (for example conversion when commiting it to a versioning system) this is the text of the original post: > I have several Java web applications on Tomcat where non-Latin characters > function properly with only one exception. Non-Latin characters, Chinese in > this case, can be displayed properly thorough the JSTL message tag. The > related configuration are followings: > > HTML: > JSP: <%@ page contentType="text/html;charset=UTF-8" language="java" %> > > The applications can take Chinese character inputs correctly with a filter > of converting request character encoding to "UTF-8". > > The only problem is that Chinese characters don't displayed properly when > they are directly typied on a JSP file. I have set the Eclipse file text > encoding to utf-8 and the characters are shown correctly in the IDE. > > I believe that is a TC configuration related issue. After having "set > JAVA_OPTS= -Dfile.encoding=UTF-8" in the catalina.bat file, nothing has > changed. > > How to solve this problem? > > Thanks in advance. -----Ursprüngliche Nachricht----- Von: Rashmi Rubdi [mailto:[EMAIL PROTECTED] Gesendet: Samstag, 17. März 2007 22:04 An: Tomcat Users List Betreff: Re: Non-Latin Character Display I haven't been following this thread, and don't know what the original request / problem was but, perhaps you may find this article useful - it's written very well IMHO. Character Conversions from Browser to Database http://java.sun.com/developer/technicalArticles/Intl/HTTPCharset/index.html I'm not sure if the above will be of use to you. Also some additional related links: http://www.w3.org/International/O-charset.en.php -Rashmi ----- Original Message ---- From: Vernon _ <[EMAIL PROTECTED]> To: users@tomcat.apache.org Sent: Saturday, March 17, 2007 1:13:23 PM Subject: Re: Non-Latin Character Display ____________________________________________________________________________ ________ No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]