Home >Backend Development >PHP Tutorial >How to set up sqlyog Chinese garbled problem
1. Enter the following code under SQLyog and execute it 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 change it 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 after restarting SQL.
2.Tools->Preference Base->Editor Modify Fonts
After the modification is completed, just restart SQLyog!
The above introduces the setting method of sqlyog Chinese garbled problem, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.