Home > Backend Development > PHP Tutorial > 显示MYSQL数据乱码有关问题

显示MYSQL数据乱码有关问题

WBOY
Release: 2016-06-13 13:22:24
Original
1022 people have browsed it

显示MYSQL数据乱码问题
又是乱码问题,我都烦透了:

刚开通的虚拟主机(美橙互联的LINUX主机),所有的地方都是UTF-8:文件、数据库、连接字符集。。。但是显示出来的数据库内容还是Ö£ÖÝÊÐÖÐÐÄÒ½Ôº£¨这样的乱码,实在没办法了,因为在本地测试的时候一切正常的,传到虚拟主机里就成乱码了,但是文件里的汉字还正常。

------解决方案--------------------
头文件呢??有没有定义utf8?



------解决方案--------------------
又是乱码... =_=

Related labels:
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