Name: yyT116575 Date: 02/09/2001
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-RC)
Java HotSpot(TM) Client VM (build 1.3.0-RC, mixed mode)
I tried to modify the JVM's default character set in application level. I mean
that I hate to use command argument -Dfile.encoding=ISO-8859-1 to modify JVM's
default character set. However, I could not do it at all.
It seems that JVM will never pick up new system properties after JVM is
started. The source code of java.lang.System tells me that system properties
are no more than simple variables. Thus, using System.setProperty
( "file.encoding", "ISO-8859-1" ) does not affect the JVM at all.
It seems that jvm.dll is the one who load the default character set. Is there
any way to modify jvm.dll?
Any other solution to modify JVM's default character set? (not command line
(Review ID: 116625)