Home  >  Article  >  Operation and Maintenance  >  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
WJOriginal
2020-06-03 15:31:432874browse

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"

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!

Statement:
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