How to specify character encoding for 7z?
Doing 7z x on an archive gives me
Clearly some files were encoded differently and 7z by default does not convert to UTF-8. How to tell 7z to do the conversion?
The only options I found for charset:
• scc{UTF-8|WIN|DOS}: set charset for for console input/output
• scs{UTF-8|UTF-16LE|UTF-16BE|WIN|DOS|{id}}: set charset for list files
WIN, DOS, UTF-8 do not work. When trying to guess charset via
7z gives warning:
unzip does this right (cyrillic symbols got converted):
Supplementary information
• p7zip Version:
• hexdump of start of archive (od -tx1z -Ax):
评论
?
参与讨论