Home  >  Article  >  Backend Development  >  PHP SQL 中文乱码解决方法

PHP SQL 中文乱码解决方法

WBOY
WBOYOriginal
2016-06-13 11:26:02690browse

PHP SQL 中文乱码
首先声明,IE浏览器编码格式跟数据库的整理者都被设置成“UTF-8”了。同样,按照这个打印也没问题。但是结果是,显示在网页上是正常的,但是插入数据库中的信息却是乱码。上图如下。

PHP SQL 乱码
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