当前位置:网站首页>MySQL怎么存储emoji?
MySQL怎么存储emoji?
2022-07-01 05:54:00 【明明就很安静】
MySQL可以直接使用字符串存储emoji。
但是需要注意的,utf8 编码是不行的,MySQL中的utf8是阉割版的 utf8,它最多只用 3 个字节存储字符,所以存储不了表情。那该怎么办?
需要使用utf8mb4编码。
边栏推荐
猜你喜欢

TiDB单机模拟部署生产环境集群(闭坑实践,亲测有效)

可动的机械挂钟

OpenGL ES: (3) EGL、EGL绘图的基本步骤、EGLSurface、ANativeWindow

How to add a gourd pie plate

Smartinstantiationawarebeanpostprocessor of the extension point series determines which construction method to execute - Chapter 432

MySQL converts milliseconds to time string

π disk, turning your computer into a personal private cloud

MySQL数据迁移遇到的一些错误

千万不要把笔记视频乱放!
![[note] e-commerce order data analysis practice](/img/03/367756437be947b5b995d5f7f55236.png)
[note] e-commerce order data analysis practice
随机推荐
SystemVerilog学习-08-随机约束和线程控制
Some errors encountered in MySQL data migration
HCM 初学 ( 一 ) - 简介
restframework-simpleJWT重写认证机制
jdbc 数据库操作
Call us special providers of personal cloud services for College Students
Continue to learn MySQL
2022第八届中国国际“互联网+”大学生创新创业大赛产业命题赛道开启报名!
这才是大学生必备软件 | 知识管理
On the first day of the new year, 3000 Apache servers went down
First defined here occurs during QT compilation. Causes and Solutions
数据库er图组成要素
Advanced cross platform application development (II): uni app practice
LED lighting used in health lighting
QT write custom control - self drawn battery
MySQL converts milliseconds to time string
FPGA - 7系列 FPGA内部结构之Clocking -01- 时钟架构概述
2022.6.30-----leetcode. one thousand one hundred and seventy-five
excel可视化
Thoughts on a "01 knapsack problem" expansion problem