Tomcat: How to set encoding to unicode

To set encoding to unicode in Tomcat, just add URIEncoding=”UTF-8″ in the server.xml file at the section “Connector”, like the following example:

                   connectionTimeout="20000"
               redirectPort="8443" URIEncoding="UTF-8"/>

Leave a Reply