UTF8 string comparisons in MySQL

后端 未结 1 1503
萌比男神i
萌比男神i 2021-01-18 12:29

We have issues with utf8-string comparisons in MySQL 5, regarding case and accents :

from what I gathered, what MySQL implements collations by considering that \"gro

相关标签:
1条回答
  • 2021-01-18 12:59

    Use collation that considers these characters to be distinct. Maybe utf8_bin (it's case sensitive, since it does binary comparison of characters)

    http://dev.mysql.com/doc/refman/5.7/en/charset-unicode-sets.html

    0 讨论(0)
提交回复
热议问题