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

ZipFile can't treat Japanese name in a zipfile properly

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 1.3.1_15, 1.4.0
    • Fix Version/s: 7
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b57
    • CPU:
      x86
    • OS:
      windows_nt, windows_2003

      Description

      This bug was originally found in developers' comments for 4651460.
       (JDC bug database)
      --------------------------------------------------------------
        java.util.zip and winzip32.exe can NOT operate zip-files including
        Japanese Path well. so-called garbled characters!! (UTF-8 vs MS932)
        Please resolve this too!!
      -----
        This is a kind of internationalization bug, too.
        Because most ZIP application encode/decode file entries in platform's
        native encoding, Java ZIP application isn't compatible with them.
        I recommend to add a charset parameter to ZIP-related methods.
      -----
        And the bug is still in the newest JDK1.4.
        We hope this problem can be resolved sooner.
      --------------------------------------------------------------

      Java2's java.util.zip cannot get files properly from a zipfile which is
      made with Winzip which is commonly-used zip/unzip software when Japanese
      name is included in the zipfile.
      This is very inconvenient for Japanese developers and users.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sherman Xueming Shen
                Reporter:
                peytoia Yuka Kamiya (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: