if your tomcat is a NT Service, this needs to go in the registry

HKLM/System/ControlSet001/Services/Apache Tomcat xxx/Parameters/JVM Option
Number n

also updating the JVM Option Count

you should see the other parameters there, just follow these as an example
when adding your new one

Matt

----- Original Message ----- 
From: "Allistair Crossley" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, April 09, 2004 10:56 AM
Subject: RE: DefaultServlet character encoding


or specify -Dfile.encoding=UTF or whatever in your tomcat startup

-----Original Message-----
From: Mark Thomas [mailto:[EMAIL PROTECTED]
Sent: 09 April 2004 16:55
To: 'Tomcat Users List'
Subject: RE: DefaultServlet character encoding


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]



<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE>
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com";>www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


---------------------------------------------------------------------
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]

Reply via email to