相关疑难解决方法(0)

MySQL不想存储unicode字符

为什么MySQL不存储unicode字符? Yes, it is a rare hieroglyph, you wouldn't see it in the browser.
UTF16 is U+2B5EE

Warning: #1366 Incorrect string value: '\xF0\xAB\x97\xAE' for column 'ch' at row 1
Run Code Online (Sandbox Code Playgroud)

是否可以在MySQL中存储此角色?

mysql unicode utf8mb4

15
推荐指数
1
解决办法
2364
查看次数

标签 统计

mysql ×1

unicode ×1

utf8mb4 ×1