We all know, Linux under the Chinese garbled is a very annoying thing, here I ask you how to solve this problem.
RAR garbled
Ubunut Open the RAR package, if there is Chinese will show garbled, in fact, the problem is the simplest, as long as the entry into the new stand, search rar, and then uninstall RAR and reinstall Unrar can. (RAR archive cannot be created after uninstalling RAR package)
The above method can solve RAR garbled problem, but there is a little bad place is unable to create a RAR compression package, if you want to solve garbled and also preserve the ability to create RAR compression package, you have to use the method:
1. download rar 4.20 Beta 2 for Linux to http://www.rarlab.com/download.htm
2. Unzip, run the terminal, go to the Unpacked directory, command line run: sudo make install
3. Create a soft link: sudo ln-s/usr/local/bin/rar/usr/bin
Complete, Ubuntu's own archive manager can unzip the RAR files.
Successfully solve garbled problem, from the Chinese files compressed under Ubuntu to WinXP file name is no longer garbled.
————
After testing this method is useful, first uninstall the original RAR, unrar before installation
Zip garbled
In fact the most difficult to solve the garbled is zip file garbled, here I have a half perfect method, although is semi-perfect but generally there is no big problem, this method is to use P7zip to extract zip,
First of all, we install P7zip-full, installed after the download has been compiled to hit the Chinese patch P7zip. Then unzip and run the install.sh file.
Version i386:
Http://115.com/file/c2hqch22
Http://dl.dbank.com/c0x9fb4gz5
AMD64-bit version:
Http://115.com/file/ang78n3 (12.04 under Compilation)
Http://115.com/file/be7fx2x0 (10.04.4 under Compilation)
HTTP://DL.DBANK.COM/C0KHBML9XR (12.04 under Compilation)
HTTP://DL.DBANK.COM/C0Z7XTB0TF (10.04.4 under Compilation)
Of course, if you are not too troublesome to compile your own, here is a compilation method:
Download Patch First:
Http://115.com/file/e7nk1hmr
Http://dl.dbank.com/c0naqgh1um
Then download the source code:
Because the patch I only found 9.04, so Ubuntu10.04 users can directly use
1 |
apt-get source p7zip-full |
If the P7zip version in the software source is not 9.04 then please download this file: http://free.nchc.org.tw/ubuntu/pool/universe/p/p7zip/p7zip_9.04~dfsg.1.orig.tar.gz
Then put the patch file that you just downloaded into the code directory, which should generally be the P7zip-9.04~dfsg.1 directory. Then execute the following code:
1 |
gzip - cd p7zip_9.04~dfsg.1-1chinese. diff .gz | patch -p1 |
And then it's no different from the general:
12 |
make all3 sudo make install |
It is important to note that there is no overwrite of the original P7zip package after the installation, but placed in a more preferred location, so the subsequent implementation of 7z related operations will be accessed here installed.
Now, in the system in any way to view or unzip any zip, theoretically should not appear garbled, I think so ...
By the way, with the Linux other garbled solution:
mp3:http://www.xzcblog.com/?post=104
Gedit (TXT file): http://www.xzcblog.com/?post=79
Linux rar garbled