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

ZipFile can't treat Japanese name in a zipfile properly

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P2 P2
    • 7
    • 1.3.1_15, 1.4.0
    • core-libs
    • b57
    • x86
    • windows_nt, windows_2003

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: