当前位置:网站首页>MySQL怎么存储emoji?
MySQL怎么存储emoji?
2022-07-01 05:54:00 【明明就很安静】
MySQL可以直接使用字符串存储emoji。
但是需要注意的,utf8 编码是不行的,MySQL中的utf8是阉割版的 utf8,它最多只用 3 个字节存储字符,所以存储不了表情。那该怎么办?
需要使用utf8mb4编码。
边栏推荐
猜你喜欢
OpenGL es: (5) basic concepts of OpenGL, the process of OpenGL es generating pictures on the screen, and OpenGL pipeline
OneFlow源码解析:算子签名的自动推断
千万不要把笔记视频乱放!
He struggled day and night to protect his data
Scope data export mat
SystemVerilog学习-08-随机约束和线程控制
Preliminary level of C language -- selected good questions on niuke.com
FPGA - 7系列 FPGA内部结构之Clocking -01- 时钟架构概述
穿越派 你的数据云行
论文学习记录随笔 多标签之LIFT
随机推荐
C language beginner level - realize the minesweeping game
In win10 and win11, the scroll direction of Elan touch panel is reversed, and "double finger click to open the right-click menu" and "double finger scroll" are started“
el-table 动态表头渲染 固定第一列 高度问题
【考研高数 武忠祥+880版 自用】高数第二章基础阶段思维导图
为了保护自己的数据,他奋斗了一天一夜
TIDB数据库特性总结
可动的机械挂钟
不是你脑子不好用,而是因为你没有找到对的工具
从诺奖知“边缘计算”的未来!
ONEFLOW source code parsing: automatic inference of operator signature
Fixed height of the first column in El table dynamic header rendering
Infinite horizontal marble game
穿越派与贸大合作,为大学生增添效率
Enter an expression (expressed as a string) and find the value of this expression.
[medical segmentation] u2net
分片上传与断点续传
栈题目:解析布尔表达式
码蹄集 - MT3114 · 有趣的平衡 - 用样例通俗地讲解
On the first day of the new year, 3000 Apache servers went down
HCM 初学 ( 四 ) - 时间