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?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37861-2b5ea.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37861-2b5ea.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?