Hunter的大杂烩

八月 23, 2012

mysql 乱码产生探讨[转]

类归于: 技术话题 — hunter @ 12:03 下午

from:http://blog.csdn.net/dubiousway/article/details/7075708

实验一
1。首先,在下面情况下:
mysql> show variables like ‘character_set_%’;
+————————–+—————————————+
| Variable_name | Value |
+————————–+—————————————+
| character_set_client | latin1 |
| character_set_connection | latin1 |
| character_set_database | latin1 |
| character_set_filesystem | binary |
| character_set_results | latin1 |
| character_set_server | latin1 |
| character_set_system | utf8 |
| character_sets_dir | D:\Programs\mysql5045\share\charsets\ |
+————————–+—————————————+
建表,并加入3个记录:大,阿,爱

(全文…)

WordPress 所驱动