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

file.encoding should be made changeable

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 1.4.1
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_2000

      Description



      Name: rmT116609 Date: 01/26/2003


      FULL PRODUCT VERSION :
      java version "1.4.1_01"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
      Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)

      A DESCRIPTION OF THE PROBLEM :
      file.encoding is a key property in testing g11n related java programs, but changing it in command line has different effect from platform to platform. there are many ppl have requested this property be made changeable. why
      doesn't sun refuse to do this?

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      run java as follows on w2k: java -Dfile.encoding=UTF-8 myClass

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      expected: result should be utf-8 byte array using string.getByteArray().

      actual: w2k's locale encoding byte array.

      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Review ID: 179778)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iris Iris Clark
              Reporter:
              rmandalasunw Ranjith Mandala (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: