当前位置:Gxlcms > 数据库问题 > MySQL utf8mb4 字符集

MySQL utf8mb4 字符集

时间:2021-07-01 10:21:17 帮助过:16人阅读

一:网上参考资料

1.http://blog.csdn.net/youngqj/article/details/52040865

 2.http://www.hangge.com/blog/cache/detail_1411.html

二:注意

1.utf8mb4 使用4个字节来存储字符,如表情等

2.数据库表和字段都已设置成utf8mb4,有些表能存储特殊字符,有些表不能,检查下数据库环境变量,语句:

SHOW VARIABLES WHERE Variable_name LIKE ‘character\_set\_%‘ OR Variable_name LIKE ‘collation%‘

 

MySQL utf8mb4 字符集

标签:.net   where   com   字节   targe   csdn   html   设置   char   

人气教程排行