sqlyog中文乱码问题的设置方法_PHP教程
时间:2021-07-01 10:21:17
帮助过:21人阅读
1.在SQLyog下输入下面代码,全部执行
SET character_set_client = utf8;
SET character_set_results = gb2312;
SET character_set_connection = utf8;
如果上边的不行,还可以改成Gbk。总以根据你的数据的文字编码改成相应的编码类型就ok了。给出Gbk的代码:
SET character_set_client = gbK;
SET character_set_results = gbK;
SET character_set_connection = utf8;
但是重启SQL之后又不行了。
2.Tools->Preference Base->Editor 修改Fonts
修改完成后,重新启动SQLyog就好了!
http://www.bkjia.com/PHPjc/319647.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/319647.htmlTechArticle1.在SQLyog下输入下面代码,全部执行 SET character_set_client = utf8; SET character_set_results = gb2312; SET character_set_connection = utf8; 如果上边的不行,还可...