Goto Source Address: http://blog.csdn.net/jiangxinyu/article/details/8206395
Installation (12.04 and above):
Code:sudo apt-get install Unar
Let's say the zip package that needs decompression is Foo.zip
Code:Lsar Foo.zip #列出所有文件
If the file name listed is already correct
Code:Unar Foo.zip #解压所有文件
If the file name listed is not correct
Code:LSAR-E GB18030 Foo.zip #指定使用GB18030编码列出所有文件
UNAR-E GB18030 Foo.zip #指定使用GB18030解压所有文件
Note: The zip file of GB18030 encoded file name is generally generated by the simplified Chinese version of Windows, for the traditional Chinese version of Windows generated by the zip file can try Big5-hkscs encoding, the common coding in other languages no longer repeat. The general principle is to use Lsar to test out the correct coding, with Unar decompression.
Reference:
Http://manpages.ubuntu.com/manpages/pre ... sar.1.html
Http://manpages.ubuntu.com/manpages/pre ... nar.1.html
Not tested on Ubuntu 12.10:
Ubuntu Unzip zip file garbled
Http://blog.sina.com.cn/s/blog_6f066a890100toqb.html
In Ubuntu under the use of Unzip decompression widnows environment generated zip file, will occur file name or directory name garbled phenomenon, the solution is to use 7-zip and CONVMV.
Install 7-zip and CONVMV:
sudo apt-get install CONVMV p7zip-full
Unzip the zip file:
#好像第一句就起效果了
Lang=c 7z e Zip_file
Convmv-f gbk-t utf8-r--notest *
Use the first line of the command will extract some garbled files, at this time, enter the second line of the command to dispose of these garbled,
Solve the problem of garbled Chinese in PDF:
sudo apt-get install Poppler-data
http://wobu.blog.163.com/blog/static/170709620121584455370/
Ubuntu zip file garbled solution compression garbled
Unzip-o CP936 Xxx.zip (with GBK, GB18030 can also)
Interestingly, there is no explanation for this option in Unzip's manual, unzip--help has a simple one-line explanation for this parameter.
1.2 In the environment variable, specify the unzip parameter, always display and decompress the file in the specified character set
Workaround: Reference vi/etc/environment
Then add the last code to unzip= "-O CP936"
zipinfo= "-O CP936"
ubuntu uncompressed RAR file Chinese garbled solution
http://blog.csdn.net/zhizichina/article/details/6577962
Some friends use RAR to unzip the. rar file. But you will find that there are a lot of garbled, perhaps the Chinese support is not perfect reason for it, such an decompression method generated by the filename is garbled. In fact, Ubuntu does not install RAR by default, so if you need to unzip the RAR file, please install
First uninstall the original RAR and Unrar
sudo apt-get remove rar
sudo apt-get remove Unrar
Then install P7zip-rar
sudo apt-get install P7zip-rar
Then double-click RAR to generate the correct Chinese file name.
Completely solve the problem of garbled package on Ubuntu
Http://www.2cto.com/os/201210/160953.html
Install Linux version 7zip:sudo apt-get install p7zip p7zip-full p7zip-rar Uninstall potentially installed RAR-related packages (default is not installed): sudo apt-get remove rar unrar
How to fix zip file name garbled in Ubuntu 12.10