Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.
The "FAQ/CharacterEncoding" page has been changed by KonstantinKolinko: https://wiki.apache.org/tomcat/FAQ/CharacterEncoding?action=diff&rev1=22&rev2=23 Comment: Note that Tomcat 8 has different default for URIEncoding. <<Anchor(Q2)>>'''How do I change how GET parameters are interpreted?''' - Tomcat will use ISO-8859-1 as the default character encoding of the entire URL, including the query string ("GET parameters"). + Tomcat will use ISO-8859-1 as the default character encoding of the entire URL, including the query string ("GET parameters") (though see Tomcat 8 notice below). There are two ways to specify how GET parameters are interpreted: 1. Set the `URIEncoding` attribute on the <Connector> element in server.xml to something specific (e.g. `URIEncoding="UTF-8"`). 1. Set the `useBodyEncodingForURI` attribute on the <Connector> element in server.xml to `true`. This will cause the Connector to use the request body's encoding for GET parameters. - References: [[http://tomcat.apache.org/tomcat-7.0-doc/config/http.html|Tomcat 7 HTTP Connector]], [[http://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html|Tomcat 7 AJP Connector]] + In Tomcat 8 starting with 8.0.0 (8.0.0-RC3, to be specific), the default value of `URIEncoding` attribute on the <Connector> element depends on "strict servlet compliance" setting. The default value (strict compliance is off) of `URIEncoding` is now `UTF-8`. If "strict servlet compliance" is enabled, the default value is `ISO-8859-1`. + + References: [[http://tomcat.apache.org/tomcat-7.0-doc/config/http.html|Tomcat 7 HTTP Connector]], [[http://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html|Tomcat 7 AJP Connector]], [[http://tomcat.apache.org/tomcat-8.0-doc/config/http.html|Tomcat 8 HTTP Connector]], [[http://tomcat.apache.org/tomcat-8.0-doc/config/ajp.html|Tomcat 8 AJP Connector]] <<BR>> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org