蒙语字母表有35个字母,包括那些'е','ё'字母。 see .而在蒙古语中'ес'和'ёс'是不同的词不同的意思。但是 utf8mb4_unicode_ci
认为它是一样的。但事实并非如此。 utf8mb4_bin
不适合,因为区分大小写。有什么建议吗?
最佳答案
如果您想要区分重音但不区分大小写的排序规则,请使用 utf8mb4_0900_as_ci
。
来自 MySQL :: MySQL 8.0 Release Notes :: Changes in MySQL 8.0.2 (2017-07-17, Development Milestone) :
- MySQL now supports a new collation,
utf8mb4_0900_as_ci
, for theutf8mb4
Unicode character set. This collation is accent sensitive and case insensitive. It is similar to the default utf8mb4 collation (utf8mb4_0900_ai_ci
) except that the default collation is accent insensitive.
关于mysql - 在不区分大小写的情况下,是否有任何排序规则来区分 'е' 和 'ё'?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56438370/