Home >Backend Development >PHP Tutorial >PHPExcel导入到数据库,部分单元格中文乱码

PHPExcel导入到数据库,部分单元格中文乱码

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-23 13:36:47888browse

用PHPExcel导入xslx到mysql数据库,部分单元格出现乱码


回复讨论(解决方案)

再从数据库里读出来,也是乱码吗?
把含有乱码内容的变量用 base64_encode 编码后,贴出结果

已经解决,是我自己多转码了一次

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