Tomcat UTF-8
Note: this should be done on the Tomcat instance configuration, if you have any.
Add UTF-8 support on Tomcat
By default Tomcat will rely on the O.S locale.
In order to support UTF-8 URLs, you’ve to manually update the server’s configuration.
- Linux automatic (apt-get) install:
TOMCAT=/etc/tomcat7
- Linux manual install:
TOMCAT=/opt/tomcat-base
vim $TOMCAT/conf/server.xml
~ Line 70 edit the "<connector port="8080" … />
" value. Add URIEncoding="UTF-8"
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" URIEncoding="UTF-8" />
Restart Tomcat server
service tomcat7 restart