How to set up sqlyog Chinese garbled problem_PHP tutorial

WBOY
Release: 2016-07-21 15:48:54
Original
965 people have browsed it

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...
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!