tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Tomcat Wiki] Update of "FAQ/CharacterEncoding" by DouglasBirdzell
Date Fri, 08 May 2009 20:14:58 GMT
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


Mime
View raw message