Home  >  Article  >  Backend Development  >  Solution to the failure of f function in php to write Chinese files

Solution to the failure of f function in php to write Chinese files

小云云
小云云Original
2018-03-21 10:21:571259browse

I was working on the file upload function recently, that is, I wanted to change my file name, because I wanted to do unified processing, and found that the Chinese file name processing failed. So I will set it up. This article mainly shares with you the solution to the failure of the f function in PHP to write Chinese files. I hope it can help everyone.

Finally solved it, I will post the code below


This will do the trick. It can be processed normally. Following is my modified name code


The above is the detailed content of Solution to the failure of f function in php to write Chinese files. For more information, please follow other related articles on the PHP Chinese website!

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