Mysql result - "special character" - insensitive

It seems like when I modify the mysql table (in utf-8 table / columns), it is unique in that it returns a repeated input error.

Example:

ALTER TABLE name ADD UNIQUE(name)

Error:

Duplicate entry 'Adé' for key 'name_UNIQUE'

I think this is due to the following lines in my database

Ade, Adé

Can I change a unique table with special characters?

Thank,

Bean

+3
source share
2 answers

collation ( ), , ) , "e" "é". . , .

, utf8, , , , utf8_bin, , . , , , , . , .

+3

= LIKE LIKE BINARY

+1

Source: https://habr.com/ru/post/1733322/


All Articles