Menu

#620 Unicode filenames not supported in zip archive creation

open
nobody
None
5
2012-12-07
2006-09-14
No

If you try to create an archive containing the file
called "β.txt" it is OK.
But with "œ.txt", it becomes "o.txt"
But with "ۍ.txt", it becomes "?.txt"

The three characters are non-ascii, but are managed
differently.

But it is working properly using 7z format (if I could
use only this format...)

I'm using 7-Zip 4.42 under Windows XP, French version.

Please find attached some zip samples

Discussion

  • Jean-Baptiste Catté

     
  • Jean-Baptiste Catté

     
  • elsapo

    elsapo - 2006-10-17

    Logged In: YES
    user_id=1195173

    A year (or two or three?) ago I ran into this, and had to
    give up on WinZip and WinAce both, and go to 7-zip for any
    uses involving files with unicode names.

    I assumed it was a problem with the protocol they use (which
    would not really be fixable by 7-zip, except by using a
    different protocol).

     
  • Jean-Baptiste Catté

    Logged In: YES
    user_id=1284572

    in fact, as you can see here :
    http://bugs.sun.com/bugdatabase/view_bug.do;:WuuT?bug_id=4244499
    Zip specification doesn't specify how non-ascii characters
    must be managed. Despite that, on a same computer, you
    should be able to extract what you have archived. I have
    downaloaded last trial version of WinZip (10.0), and it's
    not working either...

     
  • Jean-Baptiste Catté

    Logged In: YES
    user_id=1284572

    In fact it's working with Winzip.
    I had tried to zip with WinZip then Unzip with 7-Zip : this
    is not woorking, but zipping and unzipping with WinZip works
    fine.

     
  • Yuri Khan

    Yuri Khan - 2012-05-12

    The latest ZIP format specification supports Unicode file names. Names must be encoded in UTF-8, and the 11th bit in the general purpose flags field (2 bytes at offset 6) must be set.

     

Log in to post a comment.

MongoDB Logo MongoDB