Home > Backend Development > PHP Tutorial > phpexcel乱码,该怎么解决

phpexcel乱码,该怎么解决

WBOY
Release: 2016-06-13 10:02:36
Original
801 people have browsed it

phpexcel乱码
之前做的一个项目,utf8编码的,导出excel正常
现在的一个项目,也是utf8的,把之前的代码拷过来
输出时居然出现乱码
想不明白是什么原因
所有文件的编码都是utf8的

------解决方案--------------------
用你的代码测试了,没有乱码。

检查下你的文件格式。另存为utf-8无bom格式的。

Related labels:
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