2017-11-01_06-00-04_Configuring URL Encoding on Tomcat Application Server
Application servers may have different settings for character encodings. We strongly recommend UTF-8 where possible.
By default, Tomcat uses ISO-8859-1 character encoding when decoding URLs received from a browser. This can cause problems when Confluence's encoding is UTF-8, and you are using international characters in the names of attachments or pages.
The Tomcat installation that is currently shipped with Confluence is already configured for UTF-8, so the below changes are not required in recent versions.
To configure the URL encoding in Tomcat:
conf/server.xmland find the line where the
Coyote HTTP Connectoris defined. It will look something like this, possibly with more parameters:
URIEncoding="UTF-8"property to the connector:
<Connector port="8090" URIEncoding="UTF-8"/>
- Restart Tomcat
If you are using mod_jk
You should apply the same URIEncoding parameter as above to the AJP connector if you are using mod_jk, and add the following option to your Apache mod_jk configuration:
<Connector port="8009" protocol="AJP/1.3" URIEncoding="UTF-8"/>
More information using Apache with Tomcat
For comprehensive examples of how to use Tomcat and Apache with Confluence, see Running Confluence behind Apache.