You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Apache Wiki <wi...@apache.org> on 2009/05/08 22:14:58 UTC
[Tomcat Wiki] Update of "FAQ/CharacterEncoding" by DouglasBirdzell
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.
The following page has been changed by DouglasBirdzell:
http://wiki.apache.org/tomcat/FAQ/CharacterEncoding
------------------------------------------------------------------------------
1. Change all your JSPs to set the correct `Content-Type` (use `<%@page cotnentType="mime/type; charset=UTF-8" %>`)
1. Change all your servlets to set the content type for responses to UTF-8
1. Change any content-generation libraries you use (Velocity, Freemarker, etc.) to use UTF-8 as the content type
+ 1. 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.
[[Anchor(Q9)]]'''Why does everything have to be this way?'''
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org