problem with file.encoding system property
Hi all
I develop a web application with Tomcat app server.
I have to set file.encoding system property to "Cp1252", but when I set it programatically usingSystem.setProperty("file.encoding","Cp1252") it doesnt affect to my program outcome but when I put it in catalina.bat withset JAVA_OPTS=-Dfile.encoding=Cp1252 it works fine.
what is the differences and why I cant change that property programatically?
thanks

