7zip filename encoding problems

8,250

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:
8,250

Related videos on Youtube

lizarisk
Author by

lizarisk

Updated on September 18, 2022

Comments

  • lizarisk
    lizarisk over 1 year

    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?

    • Breakthrough
      Breakthrough almost 11 years
      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?
    • lizarisk
      lizarisk almost 11 years
      linux linux linux
    • Daniel R Hicks
      Daniel R Hicks over 10 years
      I'm a little confused -- how does it fail? What are the symptoms?
  • Dmitry Grigoryev
    Dmitry Grigoryev over 8 years
    Did you notice the OP is using Linux? (He should have mentioned it more clearly btw)