Php decompresses the Chinese garbled code problem in the file.

the project requires you to extract the zip file, which contains a Chinese string. And Chinese strings are a must, so not using Chinese characters cannot be counted as a solution.
tried garbled code after failed conversion of iconv ("utf-8","gbk",$str) and iconv (" gbk","utf-8",$str) functions.
use the mb_detect_encoding method to get that the string is utf-8 encoded.
how to solve this problem?

The folder name of the first folder obtained by the

clipboard.png

clipboard.png
breakpoint.
because I started to learn php,
because I was originally writing node. The same file was decompressed successfully by modifying the plug-in in the node environment.

Php
Mar.21,2021

this issue has been resolved.
use the original data when you need to parse the file name again, ignoring the changes.

$zip->statIndex($i,\ZipArchive::FL_ENC_RAW);

reference

reference


Hello, how do you load multiple models into one HTML page?

Menu