Solution: File encoding not getting set (using JVM option in service.bat)

2006-02-02 Thread Sriram Subramanian
Hi Mark, and others, So I did find a way to set the encoding for the JVM (and hence Tomcat 5.5 which uses this jvm and runs as a windows service). Just add another update statement in service.bat: //US//SelectFederation ++JvmOptions "-Dfile.encoding=UTF-8" Regards, Sriram --- Mark Thomas <[EMAI

Re: File encoding not getting set (using JVM option in service.bat)

2006-02-02 Thread Mark Thomas
Sriram Subramanian wrote: > Mark, I see your point related to file encoding > changes working on select OS/JVM combinations, why is > probably why setting LANG=en_US.UTF-8 in catalina.sh > does the trick on Unix. There's got to be some > workaround for Windows. > My aim is to force Tomcat to use UT

Re: File encoding not getting set (using JVM option in service.bat)

2006-02-02 Thread Sriram Subramanian
Mark, I see your point related to file encoding changes working on select OS/JVM combinations, why is probably why setting LANG=en_US.UTF-8 in catalina.sh does the trick on Unix. There's got to be some workaround for Windows. My aim is to force Tomcat to use UTF-8. We have a EAR that is deployed on

Re: File encoding not getting set (using JVM option in service.bat)

2006-02-02 Thread Mark Thomas
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 %CA

File encoding not getting set (using JVM option in service.bat)

2006-02-02 Thread Sriram Subramanian
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 -Df