MYSQL: Best choice for accent-sensitive but case-insensitive UTF settings
P粉754473468
P粉754473468 2023-09-07 20:59:31
0
1
786

For example, ἐν or Ἐν are the same but should be distinguished from ἕν/Ἓν. I tried utf8_bin which seems to be the closest but is also case sensitive.

P粉754473468
P粉754473468

reply all(1)
P粉481815897
mysql> select 'ἐν' = 'Ἐν' collate utf8mb4_0900_as_ci;
+----------------------------------------------+
| 'ἐν' = 'Ἐν' collate utf8mb4_0900_as_ci       |
+----------------------------------------------+
|                                            1 |
+----------------------------------------------+

mysql> select 'ἐν' = 'ἕν' collate utf8mb4_0900_as_ci;
+----------------------------------------------+
| 'ἐν' = 'ἕν' collate utf8mb4_0900_as_ci       |
+----------------------------------------------+
|                                            0 |
+----------------------------------------------+
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template