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?
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!