用navicat查看一個表的內容時顯示以下html
而後進入navicat的控制檯後,show variables like 'char%';命令後以下:mysql
+--------------------------+---------------------------------------+
| Variable_name | Value |
+--------------------------+---------------------------------------+
| character_set_client | latin1 |
| character_set_connection | latin1 |
| character_set_database | utf8 |
| character_set_filesystem | binary |
| character_set_results | latin1 |
| character_set_server | utf8 |
| character_set_system | utf8 |
| character_sets_dir | D:\mysql-5.1.32-win32\share\charsets\ |sql
解決方法:把navicat的鏈接方式改成gb2312ui
再次查看:this
亂碼不見了.net
From: http://blog.chinaunix.net/uid-25135004-id-2930202.htmlunix