What to do when the Chinese Characters are messed up when extracting from zip archive?

What to do when the Chinese Characters are messed up when extracting from zip archive?

What to do when the Chinese Characters are messed up when extracting from zip archive?

In some cases, I download zipped files from internet, the files have different encoding as the linux Gnome environment, so the Chinese Characters are all messed up, the easiest way to deal with this problem is to use the following command:

unzip -O gb2312 filename.zip

The above command tells the unzip to use a different coding system as the current desktop environment, other available encoding can be:/GBK, GB18030, CP936/.

Author: wujing

Created: 2014-12-28 日 14:50

Emacs 24.3.1 (Org mode 8.2.10)

posted on 2014-12-28 14:50  wujingcqu  阅读(263)  评论(0编辑  收藏  举报