gpt4 book ai didi

mysql - 如何在 MySQL 中存储 unicode?

转载 作者:IT老高 更新时间:2023-10-28 13:00:03 25 4
gpt4 key购买 nike

如何在免费版 MySQL 中存储 Unicode?

似乎没有 SQL Server 中的 nvarchar 类型。 MySQL 不支持 Unicode 吗?我尝试使用 text 但这也不起作用。

最佳答案

您需要为您的表格选择一个 utf8_* 字符集。文本和备注字段将自动以 UTF-8 格式存储。 mySQL 6 即将支持 UTF-16。

关于mysql - 如何在 MySQL 中存储 unicode?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3328968/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com