Home  >  Article  >  Backend Development  >  copy 函数不支持中文?解决方法

copy 函数不支持中文?解决方法

WBOY
WBOYOriginal
2016-06-13 13:53:541058browse

copy 函数不支持中文?
因为是用ajax做上传,所以不是表单提交的数据

只能用copy去做。。。但是本地选择了中文目录的话,就出问题。。。。

------解决方案--------------------
ajax请求时,需要encode

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