Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The solution to the garbled Code of zip File decompressed by linux

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

This article shows the specific operation to solve the problem of linux decompression zip file garbled, the code is concise and easy to understand, if you encounter this question in your daily work, I hope you can find a way to solve the problem through this article.

First, decompress and specify the character set by unzip command

Unzip-O CP936 xxx.zip (GBK, GB18030 is also possible)

Online video tutorial recommendation: linux video tutorial

Second, in the environment variable, specify the unzip parameter, always display and extract the file with the specified character set

Add the following 2 lines to / etc/environment:

UNZIP= "- O CP936" ZIPINFO= "- O CP936"

Third, use the jar command to extract the zip package

For example:

Jar xvf file.name

The above is the linux decompression zip file garbled solution, the content is more comprehensive, and I also believe that there are quite a number of tools may be our daily work may see or use. Through this article, I hope you can gain more.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report