You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get a zip archive with utf8 filename and exotic chars (éàçù) inside of it, when you extract the archive, filenames are a bit broken due to encoding issue. Even with mb_convert_encoding() on filename.
How to reproduce :
Generate a zip archive with exotic chars in its filename, add files in it (with also exotic chars on theirs filenames). Save it, then unzip it,
filenames are messed up.
What's expected :
filenames' of files should be identical before archive generation, and after extraction.
The text was updated successfully, but these errors were encountered:
After searching a bit on the web it seems directly related to the zip extension. See the gist at https://gist.github.com/real34/9604201 for an illustration of the bug.
Since Gaufrette only acts as a wrapper oaround ZipArchive, what is your take on this? Other solutions have reimplemented Zip utils class, but I am not sure this is the way to go.
What's wrong :
Get a zip archive with utf8 filename and exotic chars (éàçù) inside of it, when you extract the archive, filenames are a bit broken due to encoding issue. Even with mb_convert_encoding() on filename.
How to reproduce :
Generate a zip archive with exotic chars in its filename, add files in it (with also exotic chars on theirs filenames). Save it, then unzip it,
filenames are messed up.
What's expected :
filenames' of files should be identical before archive generation, and after extraction.
The text was updated successfully, but these errors were encountered: