例如,ἐν或Ἐν是相同的,但應與ἕν/Ἓν區分開來。我嘗試了utf8_bin,它似乎是最接近的,但也區分大小寫。
P粉4818158972023-09-08 10:18:11
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 | +----------------------------------------------+