Home >Backend Development >PHP Tutorial >困扰小弟我的编码有关问题(导致中文乱码),由解!

困扰小弟我的编码有关问题(导致中文乱码),由解!

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 11:23:46978browse

困扰我的编码问题(导致中文乱码),由解!!!
我的网站页面都是用gb2312编码(不能改),我可以改mysql数据库!
我把mysql数据库中数据从utf8_general_ci改成gb2312_chinese_ci是不是就能从根本解决问题?
utf8_general_ci与gb2312_chinese_ci有什么本质区别,比如在存储容量,读取速度等上?

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