From: markt Date: Thu, 21 Jul 2011 13:29:01 +0000 (+0000) Subject: Improve i18n support. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=e341b11a14071c365e9c9db239e9a7d0f2138128;p=tomcat7.0 Improve i18n support. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1149172 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index a49d43744..18c3ed938 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -113,6 +113,13 @@ system property name for changing the name of the SSO session cookie. (markt) + + Configure the Manager and Host Manager web applications with the Set + Character Encoding Filter to make the default request character encoding + UTF-8 to improve i18n support. Note that best results will be obtained + if the connector is also configured with + URIEncoding="UTF-8".(markt) + diff --git a/webapps/host-manager/WEB-INF/web.xml b/webapps/host-manager/WEB-INF/web.xml index 7177ffe2c..9d266156f 100644 --- a/webapps/host-manager/WEB-INF/web.xml +++ b/webapps/host-manager/WEB-INF/web.xml @@ -47,6 +47,20 @@ + SetCharacterEncoding + org.apache.catalina.filters.SetCharacterEncodingFilter + + encoding + UTF-8 + + + + + SetCharacterEncoding + /* + + + CSRF org.apache.catalina.filters.CsrfPreventionFilter diff --git a/webapps/manager/WEB-INF/web.xml b/webapps/manager/WEB-INF/web.xml index 5245e3d37..9a43ef56c 100644 --- a/webapps/manager/WEB-INF/web.xml +++ b/webapps/manager/WEB-INF/web.xml @@ -91,6 +91,20 @@ + SetCharacterEncoding + org.apache.catalina.filters.SetCharacterEncodingFilter + + encoding + UTF-8 + + + + + SetCharacterEncoding + /* + + + CSRF org.apache.catalina.filters.CsrfPreventionFilter