Objective
This article is about Ubuntu uncompressed zip file garbled solution, a total of 2 ways to solve the problem, the following words do not say more, to see together
First, through the Unzip line command decompression, the specified character set
Unzip-o CP936 Xxx.zip (with GBK, GB18030 can also)
Interestingly, there is no explanation for this option in Unzip's manual, unzip--help a simple one-line description of this parameter.
In the environment variable, specify the unzip parameter, always display the decompression file in the specified character set
Add 2 lines to the/etc/environment
unzip= "-O CP936"
zipinfo= "-O CP936"
The GNOME Desktop Archive Manager (File-roller) can use unzip to extract Chinese correctly, but File-roller itself does not set the encoding to be passed to unzip.
Summary
I first used the second method, but found that I did not install File-roller, so I used the first method to specify the character set, and then it was done, but still feel this CP936 .... Don't remember, I don't know if there's a better way.
Summarize
The above is the entire content of this article, I hope the content of this article for everyone's study or work can bring certain help, if you have questions you can message exchange. Thank you for your support in the cloud-dwelling community.