Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4413998

RFE: java should allow users to modify JVM's default character set

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.3.0
    • core-libs

      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
      argument).
      (Review ID: 116625)
      ======================================================================

            ilittlesunw Ian Little (Inactive)
            yyoungsunw Yung-ching Young (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: