During archiving to ZIP, switch "scs" have no effect
A free file archiver for extremely high compression
Brought to you by:
ipavlov
While creating ZIP file, i need to include files with Russian filenames. These files will be open on other computer and I do not know, what their system locale would be. So i need to make sure, that file names stored in UTF-8.
So, as per this:
http://sevenzip.sourceforge.jp/chm/cmdline/switches/charset.htm
I used:
7z a -scsUTF-8 test_scs.zip .
And while trying to open ZIP file in Windows with English locale, file names have unreadable symbols
So, the bug is that "-scsUTF-8" has no any effect!
Workaround:
As per:
http://sevenzip.sourceforge.jp/chm/cmdline/switches/method.htm#Zip
I did:
7z a -mcu=on test_mcu.zip .
And now it works perfectly on any system.
And here is "working" ZIP, to compare
-scs switch is for list files.