Menu

#1341 During archiving to ZIP, switch "scs" have no effect

None
closed-rejected
nobody
utf8 (3)
5
2012-12-27
2012-12-27
No

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.

1 Attachments

Discussion

  • Vyacheslav Fursov

    And here is "working" ZIP, to compare

     
  • Igor Pavlov

    Igor Pavlov - 2012-12-27
    • status: open --> closed-rejected
    • milestone: -->
     
  • Igor Pavlov

    Igor Pavlov - 2012-12-27

    -scs switch is for list files.

     

Log in to post a comment.