哪种utf8排序规则是最好的? [英] Which of utf8 collations is the best?
问题描述
我希望使用UTF8归类来支持:
I want a UTF8 collation for supporting:
- 英语
- 波斯语
- 阿拉伯语
- 法语
- 日语
- 中文
UTF8_GENERAL_CI
是否支持所有这些语言?
Does UTF8_GENERAL_CI
support all these Languages?
推荐答案
是的,这是正确的. UTF-8是Unicode字符集的一种编码,它支持世界上几乎所有的语言.
Yes, that is correct. UTF-8 is an encoding for the Unicode character set, which supports pretty much every language in the world.
我认为唯一的区别在于对结果进行排序,在其他语言中,不同的字母可能以不同的顺序排列(重音符号,变音符号等).另外,将a
与ä
进行比较在另一个排序规则中的行为可能会有所不同.
I think the only difference comes with sorting your results, different letters might come in a different order in other languages (accents, umlauts, etc.). Also, comparing a
to ä
might behave differently in another collation.
后缀_ci
表示排序和比较是 c ase i 不敏感.
The _ci
suffix means sorting and comparison happens case insensitive.
http://www.collation-charts.org/您可能会感兴趣
这篇关于哪种utf8排序规则是最好的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!