Guides

Garbled file names from an archive

In old archives made on Windows or DOS, file names are stored in an encoding the archive doesn't name. Read them in the wrong one and a name like Letter.txt turns into a jumble of symbols. It happens most often with Russian, Greek and other non-Latin names.

In short

How to pick the encoding

Most of the time PicFrom detects the encoding itself and asks nothing. When it isn't sure, it shows the Filename encoding window.

  1. Open the list of options.
  2. Go through them and watch the sample names under the list.
  3. When the names read correctly, click Continue.
Filename encoding window: windows-1251 selected, file names readable
windows-1251 is selected and the names read correctly.

If no option fits, click Stop and ask the sender what the names should be.

If there was no window and the names are still wrong

Once in a while PicFrom guesses wrong. Then extract the archive again from Terminal and name the encoding. Replace the archive path with yours:

"/Applications/PicFrom Unarchiver.app/Contents/MacOS/picfrom-unarchiver-cli" extract "$HOME/Downloads/Old archive.zip" --encoding windows-1251

If that doesn't help, try ibm866 instead of windows-1251. The encoding only affects file names. If a name is right but the text inside the file isn't readable, that's a setting in your text editor.

More guides