...
2. In the Catalina.bat (windows) catalina.sh (windows) apache$jakarta_config.com (OpenVMS), file there must be a switch added to the call to java.exe. In LINUX (FC5), use /etc/tomcat5/tomcat5.conf and update the JAVA_OPTS switch. The switch is:
-Dfile.encoding=UTF-8
...
Wiki Markup |
---|
The suggested solution originates from \[http://people.comita.spb.ru/users/sergeya/java/ruschars.html Sergey Astakhov (all texts are in russian)\] (sergeya@comita.spb.ru) |
- TIP -*
Update the file $CATALINA_HOME/conf/server.xml for UTF-8 support by connectors. Example:
<Connector port="8080"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
debug="0" connectionTimeout="20000"
disableUploadTimeout="true"
URIEncoding="UTF-8"/>