Home > Backend Development > PHP Tutorial > µ符号在excel导入时变成了问号,这是啥情况?

µ符号在excel导入时变成了问号,这是啥情况?

WBOY
Release: 2016-06-23 13:20:03
Original
1469 people have browsed it

µ符号在excel导入时变成了问号
php页面通过excel导入的过程。


回复讨论(解决方案)

这要看 µ 是如何输入的(是什么字符集的)

你的字符集不对了。

改GBK看看。

字符集不对啦

字符问题,转码试下

μ 这是用输入法输入的
µ 这是用 Ait+181 输入的
你们能看出区别吗?不要人云亦云,要自己动动脑子

原来代码是用csv格式导入处理。改成用phpexcel导入就没这个问题了。

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