Sriram Subramanian wrote:
> 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>

file.encoding is intended to be read only. That it is read/write on
some JVM/OS combinations is a "feature" that cannot be relied upon to
work in all cases.

What are you trying to do? Depending on your aims you might have
better luck with some/all of the following:
URIEncoding of the connector
fileEncoding of the default servlet

Mark


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

Reply via email to