Home  >  Article  >  Backend Development  >  php生成excel问题

php生成excel问题

WBOY
WBOYOriginal
2016-06-23 14:09:06843browse

php生成的excel,用utf8会乱码,因为windows的部分操作系统excel不支持utf8。

因此换成了gb2312,就正常了。

可是最近发现韩文还是乱码,求解!!


回复讨论(解决方案)

以前做过csv的,如果没记错的话最好的兼容是:
charset=UTF-16LE

以前做过csv的,如果没记错的话最好的兼容是:
charset=UTF-16LE
貌似可以,我在看看别的语言。

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