tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
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:

   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
  [[Anchor(Q9)]]'''Why does everything have to be this way?'''

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message