I have a problem with special characters in my database. Now they are displayed correctly, but sql seems to ignore them in the queries. For example, unfortunately, I have the following entries:
Morgait
Morgaít
Mórgait
Now these names had a UNIQUE key, and, trying to add the second and third after the first, he would already break the word that the last 2 could not be added, since the name would no longer be unique. In short, í is regarded as normal i, and - as normal o.
When I request:
SELECT * FROM member WHERE charname = 'Morgait'
I get all 3 as a result. The same thing when I change I to í, o to - or even to both at the same time.
How can I make the database see these differences? I have a mapping of the table set in ascii_general_ci (UIF 8 unicode ci was also used).
source
share