Solutions to the problem of Chinese name garbled codes appearing in files extracted under linux after windows system zip compression
Pack a zip file compression package on windows. The compression package contains some png pictures and static files. Part of the names of the pictures and static files are named with Chinese names. There is no problem opening on windows and the display is normal. On linux, using unzip to decompress will appear garbled with Chinese names.

Troubleshooting reasons: The problem occurred in the encoding format. Windows uses gbk encoding, and Linux uses utf-8 encoding format by default. The format is inconsistent.
Operation steps:
1. Install zip and unzip commands on linux (skip this step if you already have them)(Take centos as an example)
yum -y install zip unzip
2. Check whether the zip contains the-O parameter. You can check it through--help
unzip --help
3. If there is a-O parameter (all by default)
unzip -O gbk dist.zip
Note: dist.zip is the name of the file that needs to be extracted
Check whether the Chinese names in the extracted directory are resolved.
© Website copyright and disclaimer
1.[honmau Media] independently owns the copyright of all materials on relevant pages of this website;
2. No one is allowed to copy it without the express written permission of [honmau Media];
3. The articles that do not indicate "honmau Media" on this website are all from the Internet and are only for everyone to learn and refer;
4. If there is any infringement/violation/irregularity, please contact customer service QQ or email to delete it, please understand;
5.[honmau Media] reserves the right to correct, modify and update this statement at any time.legal notice