Home  >  Article  >  Backend Development  >  How to set up sqlyog Chinese garbled problem_PHP tutorial

How to set up sqlyog Chinese garbled problem_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:48:54965browse

1. Enter the following code under SQLyog and execute all

SET character_set_client = utf8;
SET character_set_results = gb2312;
SET character_set_connection = utf8;

If the above does not work, try Can be changed to Gbk. Just change the text encoding of your data to the corresponding encoding type and you'll be fine. The code for Gbk is given:

SET character_set_client = gbK;
SET character_set_results = gbK;
SET character_set_connection = utf8;

But it doesn’t work again after restarting SQL.

2.Tools->Preference Base->Editor Modify Fonts
After the modification is completed, just restart SQLyog!

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/319647.htmlTechArticle1. Enter the following code under SQLyog and execute all SET character_set_client = utf8; SET character_set_results = gb2312; SET character_set_connection = utf8; If the above does not work, you can also...
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