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

sun.jnu.encoding get incorrectly set to US-ASCII

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 7u6
    • client-libs

      Files with unicode characters in file names (for instance "å" aren't supported. The same goes with some ordinary strings too. The international characters all gets converted to "?".

      I've investigated the matter and it seems to only happen when running Java programs with the Jar launcher (i.e when double clicking jar files). The system property "sun.jnu.encoding" for instance gets incorrectly set to US-ASCII, while it should be set to UTF-8, and so it does when running the software using the command line in the java -jar jarFile format.

            Unassigned Unassigned
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: