Home > Backend Development > PHP Tutorial > file_get_contents读取xls一片乱码?解决思路

file_get_contents读取xls一片乱码?解决思路

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 11:24:47
Original
1526 people have browsed it

file_get_contents读取xls一片乱码?
我在网上下了一个xls,本地wps打开是正常的,但是用file_get_contents或者file()却得到一篇乱码。$S = iconv("utf-8","gb2312", $data); 或$S =iconv("gb2312","utf-8", $data);均无任何效果

请教怎么处理啊。。

谢谢!!

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