Shammer's Philosophy

My private adversaria

How to avoid a filename character corruption on Mac OS?

The file name like following always corrupted on Mac OS.

  • filename includes multi bytes character
  • the file created on Windows
  • the files are included in zip file

Using unar command can avoid character corruption because this command checks filename character encoding before zip file unarchived.
Using brew is easy way to install this command.

$ brew install unar