THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Set URIEncoding="UTF-8" on your <Connector> in server.xml
Wiki Markup Use a \[#Q3 character encoding filter\] with the default encoding set to UTF-8
- Change all your JSPs to set the correct
Content-Type
(use<%@page cotnentType="mime/type; charset=UTF-8" %>
) - Change all your servlets to set the content type for responses to UTF-8
- Change any content-generation libraries you use (Velocity, Freemarker, etc.) to use UTF-8 as the content type
- Disable any valves or filters that may read request parameters before your character encoding filter or jsp page has a chance to set the encoding to UTF-8. For more information see http://www.mail-archive.com/users@tomcat.apache.org/msg21117.html.
Why does everything have to be this way?
...