encoding of filenames in zip archives
When I unpack a zip archive (with standard 'archive utility') that was created under windows, cyrillic characters in filenames become some gibberish.
Just the filenames are the problem, actual contents of files is ok.
How to fix this?
(Yosemite, if that's important. In general, I have a lot of files with cyrillic filenames — and they are displayed just fine (including on flash drives from windows users etc).)
Upd. Looks like the source of the problem (many modern zip unarchivers assume that filenames are in unicode, but that's not always the case) and a possible workaround (convmv
) is described e.g. at http://blogs.gnome.org/happyaron/2010/09/03/workaround-of-file-name-problem-while-unzip-handling-cjk-encodings/
Solution 1:
I wrote a Qt based utility specifically for handling and fixing double encoded filenames: https://github.com/dennis97519/EncodingConverter