Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On my Mac OS 10.6.8 I had a directory full of files that had Chinese filenames. I proceeded to run tar czf mydir.tar.gz mydir

Now when I untar it with tar xzf mydir.tar.gz, the extracted filenames are all jumbled and no longer the original format or encoding. How do I restore it? I've already lost the original directory so the compressed file is the only thing I can work with.

share|improve this question
This question may be related. – Lèse majesté Apr 14 '12 at 12:30

Your Answer


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

Browse other questions tagged or ask your own question.