I have a user table in MySQL 5.7.27 with utf8mb4_unicode_ci
collation.
Unfortunately, ı is not threaded as i for example, the below query won't find Yılmaz
select id from users where name='Yilmaz';
I do not have the problem with other umlautes like ä
and a
. For example the two queries give the exact same result.
select id from users where name='Märie';
select id from users where name='Marie';
I cannot simply replace ı
by i
and to the search, because then I would not find users with the name Yılmaz
.
Do I have to use different collation to support all umlaute?
Here are some more information about the unicode letters:
code | glyph |decimal | html | description
U+0131 | ı |305 |ı | Latin Small Letter dotless I
U+0069 | i |105 |- | Latin Small Letter I