Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have problems extracting files from 7zip archive with non-ascii symbols in filenames.

I have identical versions of 7z on two computers, which differ only by the system locale. If I compress on one computer and try to decompress on another, it fails. If I do this on the same computer, everything is ok.

Does anybody know what could be the reason for this and how this problem could be solved?

share|improve this question
    
Try compressing the file with the -mcu flag to force UTF-8 encoding of the filenames (from the 7zip Revision History, 4.58 beta). Also, what operating systems are you using? –  Breakthrough May 30 '13 at 13:30
    
linux linux linux –  lizarisk May 30 '13 at 14:54
    
Have you experimented with changing the locale at either end with LANG="...." 7za .... so that the locale temporarily matches the one used at the other end? Have you verified that the filenames are really matching the expected locale? Could you post the output of locale from both systems? –  zagrimsan Aug 19 '13 at 10:26
    
I'm a little confused -- how does it fail? What are the symptoms? –  Daniel R Hicks Sep 4 '13 at 2:56

1 Answer 1

If you cannot workout getting your non-unicode locale machine to work with unicode names, you could try having the first 7z stuff it into a "tar" first. That might hide the offending filenames on the other machine.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.