Coding problems small summary
-
View database coding
show variables like 'char%';
here are best set to utf8 encoding format, when you install some version of mysql database encoding settings have this option, and if not, you can modify the configuration file ( my.ini ) then restart the mysql. -
Set the database encoding
SET character_set_client = UTF8;
SET = the character_set_connection UTF8;
... -
Modify the current command window coding
chcp 65001 -
View the current command window coding
chcp
displayed as 65001 is the utf8 encoding. -
The best idea in the coding which are located to utf8
-
You can manage language settings in the machine setting modification of the computer system's coding format