Set the character encoding for the connector to UTF-8 by modifying the file server.xml in the conf/ subdirectory of the Apache Tomcat home directory.
Procedure
- Access the conf/ subdirectory of the Tomcat home directory and in this location, open server.xml for editing.
- If you will use port 8080 to access Contenta Web, configure the encoding for that port by performing the following steps.
- In the server.xml file, find the Connector element for port 8080, which looks like the following by default.
<Connector port="8080" protocol="HTTP/1.1" redirectPort="8443" />
- Configure the character encoding for the connector by adding the following attribute within the Connector element.
- If you will use port 8009 to access Contenta Web, configure the encoding for that port by performing the following steps.
- In the server.xml file, find the Connector element for port 8009, which looks like the following by default.
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
- Configure the character encoding for the connector by adding the following attribute within the Connector element.
- Save and close server.xml.
Before proceeding to the next step, refer to the Related Topics listed below.
- Restart Tomcat.