Hi, Tomcat ignores META tags (for good reasons I won't go in to). Use <%@ page pagEncoding="..." %>.
Mark > -----Original Message----- > From: Hassan Schroeder [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 08, 2004 7:11 PM > To: [EMAIL PROTECTED] > Subject: DefaultServlet character encoding > > 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 ----------------------------- [EMAIL PROTECTED] > Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com > > dream. code. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]