CI框架中 下载文件, 下载中文名称的文件读不到,请教

WBOY
Release: 2016-06-21 08:45:21
Original
917 people have browsed it


数字 和 英文的都没事
查了半天没找到解决方法  谢谢了


回复讨论(解决方案)

中文文件名所用的字符集要与服务器操作系统的字符集一致

是不是中文编码不一致

版主真快

中文文件名所用的字符集要与服务器操作系统的字符集一致




再请教一下 这个怎么整啊 谢谢

你是 windows 系统
如果程序是 utf-8 的话,那就要将文件名转成 gbk 编码的

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template