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 "Tomcat/UTF-8" by markt
Date Mon, 23 Jun 2008 19:09:36 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 markt:
http://wiki.apache.org/tomcat/Tomcat/UTF-8

The comment on the change is:
Remove inaccurrate statement

------------------------------------------------------------------------------
  %> }}}
  
  2.
- In the Catalina.bat (windows) catalina.sh (windows)
- apache$jakarta_config.com (OpenVMS), file there must be a switch added to
- the call to java.exe.  In LINUX (FC5), use /etc/tomcat5/tomcat5.conf and update the JAVA_OPTS
switch.
- The switch is:
- 
- -Dfile.encoding=UTF-8
- 
- I cannot find documentation for this environment variable anywhere or what
- it actually does but it is essential.
- 
- 3.
  For translation of inputs coming back from the browser there must be a
  method that translates from the browser's ISO-8859-1 to UTF-8.  ISO-8859-1
  is the default character encoding for servers and browsers according to the
@@ -64, +53 @@

  
  '''Alternative solution'''
  
- The solution suggested above works fine with steps (1) and (2) only, but from the architecture
perspective the correct way is to add a filter to the Tomcat that will do necessary correction
for the application deployed without any additional changes to the rest of the code.
+ The solution suggested above works, but from the architecture perspective the correct way
is to add a filter to the Tomcat that will do necessary correction for the application deployed
without any additional changes to the rest of the code.
  
  1. Make sure JSP header is set as suggested:
  {{{

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message