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.
_________________________________________________________________
Exercise your brain! Try Flexicon.
http://games.msn.com/en/flexicon/default.htm?icid=flexicon_hmemailtaglinemarch07
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]