Hi, 

I am installing Tomcat 5.5.9 as a windows service
using the service.bat script. I need to set the jvm
file encoding to UTF-8, which I did using the
following syntax -
=======
"%EXECUTABLE%" //IS//%SERVICE_NAME% --JavaHome
%JAVA_HOME% --StartPath %CATALINA_HOME% --Startup auto
--JvmOptions -Dfile.encoding=UTF-8 <more stuff>
=======
Checked the file encoding after installation...I am
seeing "Cp1252" instead of UTF-8. 
Next, I also tried setting this within catalina.bat:
=======
set JAVA_OPTS=-Dfile.encoding=UTF-8
set CATALINA_OPTS=-Dfile.encoding=UTF-8
=======
This doesn't make a difference either....I'm guessing
since service.bat does not reference catalina.bat once
the tomcat win service is installed. 
My Environment:
WinXP, Win2k3 server
Sun JRE 1.5.0_05 

I will be working on this today, will post the
solution if I find something. In the meantime, I would
really appreciate any help I can get. 

Thanks!
Sriram

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to