Home > Operation and Maintenance > CentOS > How to solve the problem of Chinese garbled characters when unzip decompresses zip in centos7

How to solve the problem of Chinese garbled characters when unzip decompresses zip in centos7

WJ
Release: 2020-06-03 15:31:43
Original
2993 people have browsed it

How to solve the problem of Chinese garbled characters when unzip decompresses zip in centos7

How to solve the problem of Chinese garbled characters when unzip decompresses zip in centos7?

You need to add 2 lines to /etc/environment:

UNZIP="-O CP936"
ZIPINFO="-O CP936"
Copy after login

Then restart the service and it will take effect.

Related recommendations: centOS tutorial



##

The above is the detailed content of How to solve the problem of Chinese garbled characters when unzip decompresses zip in centos7. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template