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

character set not specified when reading resources from jar file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.0.1fcs
    • 1.0fcs
    • other-libs
    • None
    • 1.0.1fcs
    • generic
    • solaris_2.6
    • Verified

      When JAF reads its resources from its jar file (or other jar files),
      it doesn't specify a character set to use when constructing the
      InputStreamReader. This cuases it to use the character set specified
      by the property file.encoding, which is appropriate for files stored
      in the local system's filesystem, but not for resources in jar files
      that are supposed to be system independent. This is usually not a problem
      because the resources contain only ASCII, which is a subset of almost all
      character sets. Except for EBCDIC. Thus JAF doesn't read the characters
      in the resource files properly on a system with file.encoding set to
      EBCDIC (Cp1047), e.g., OS 390.

            bshannon Bill Shannon (Inactive)
            bshannon Bill Shannon (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: