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
Statement: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