Home  >  Article  >  Backend Development  >  Does php fail to recognize files with Chinese names (the character set is the file system of utf8)

Does php fail to recognize files with Chinese names (the character set is the file system of utf8)

WBOY
WBOYOriginal
2016-09-21 14:13:091421browse

The file under Linux is saved with a Chinese name. How to read a save into a new single byte name. When php has the same name, an error occurs. The file does not exist. The Linux system is encoded in utf8. Is php unable to recognize files with Chinese names (the character set is a file system with utf8)?

Reply content:

The file under Linux is saved with a Chinese name. How to read a save into a new single byte name. When php has the same name, an error occurs. The file does not exist. The Linux system is encoded in utf8. Is php unable to recognize files with Chinese names (the character set is a file system with utf8)?

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