XAMPP
先看下
SHOW VARIABLES LIKE 'CHARACTER_SET_%'
发现有latin1, 于是打开my.ini
## UTF 8 Settingsinit-connect=/'SET NAMES utf8/'collation_server=utf8_unicode_cicharacter_set_server=utf8#skip-character-set-client-handshake#character_sets-dir="/xampp/mysql/share/charsets"
EOF