Home >Backend Development >PHP Tutorial >How to set up sqlyog Chinese garbled problem

How to set up sqlyog Chinese garbled problem

WBOY
WBOYOriginal
2016-07-29 08:39:014639browse

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.

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