Home  >  Article  >  Database  >  utf-8-求助啊``mysql_query('set names utf8');字符集乱码问号``

utf-8-求助啊``mysql_query('set names utf8');字符集乱码问号``

WBOY
WBOYOriginal
2016-06-06 09:36:071476browse

utf-8mysqlphpmyadmin乱码编译器

``phpmyadmin下字符集乱码和问号,在下已血崩,网上查了很多方法,试过在编译器下添加header("Content-type:text/html;charset=utf-8"); page laguage='php' pageEncoding='utf-8'); 也试过mysql_query('set names utf8'); Mysql配置文件my.ini也设置了默认编码格式utf8,控制台查看编码方式也是utf8,有答案说是在创建表后才完成这些设置后原来的表没有更新,重新建一个表就好了。都试过了,但还是不行呐

图片说明![![![图片说明](http://img.ask.csdn.net/upload/201511/21/1448075658_896704.png)<br>图片说明](http://img.ask.csdn.net/upload/201511/21/1448075654_168724.png)<br>图片说明](http://img.ask.csdn.net/upload/201511/21/1448075644_194443.png)<br>图片说明

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