-
-
Notifications
You must be signed in to change notification settings - Fork 431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-c works with -x but not -l #689
Comments
Tested the attached zip file, folder.zip on my Ubuntu setup. Running a fresh minizip
The zip file contains the following
First try listing its contents with minizip
I see the same encoding issue. Now use minizip to extract the contents of the zip file
Note the encoding issue with the Check what was written to disk.
That looks fine. Looks like there are (at least) two places where the code isn't doing what is expected when the After a brief look at the code I see that |
If would be helpful if you can submit a PR. |
I got a zip file in CP936/GBK,
-x -c 936
is able to extract the file correctly, but:-l -c 936
also gave the same garbled file names.Pipe to iconv like
minizip -l a.zip | iconv -f gbk -t utf8
works.It seems `-c' doesn't affect -l in any way.
The text was updated successfully, but these errors were encountered: