tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hassan Schroeder <has...@webtuitive.com>
Subject DefaultServlet character encoding
Date Thu, 08 Apr 2004 18:10:49 GMT
Config: Tomcat 4.1.29 -- Sun Java 1.4.2_01-b06 -- RedHat ES

Problem: static HTML pages meta-tagged to use Shift_JIS are sent as
ISO-8859-1.

All the googling I've done turns up the suggestion to start Tomcat
with -Dfile.encoding=UTF-8 in either JAVA_OPTS or CATALINA_OPTS to
make UTF-8 the default. I've tried both, neither made a difference.

To baffle me more, my two (unfortunately) divergent dev environments
	Tomcat 4.1.27 -- Sun Java 1.4.2_01-b06  -- W2k
	Tomcat 5.0.19 -- Sun Java 1.4.1_01-69.1 -- OSX.2.8
serve a sample Shift_JIS page just fine "out of the box"...

All suggestions gratefully accepted :-)

-- 
Hassan Schroeder ----------------------------- hassan@webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.



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


Mime
View raw message