PHP
强制显示为UTF-8
header("Content-type: text/html; charset=utf-8");
phpMyAdmin
检查常规设置,数据库,表,排序规则是不是都是utf8mb4_unicode_ci
参考链接:http://jingyan.baidu.com/article/e73e26c0cf531724adb6a7e2.html
强制显示为UTF-8
header("Content-type: text/html; charset=utf-8");
检查常规设置,数据库,表,排序规则是不是都是utf8mb4_unicode_ci
参考链接:http://jingyan.baidu.com/article/e73e26c0cf531724adb6a7e2.html