How do I make a diacritic insensitive,
ex this persian string with diacritics
هواى بَر آفتابِ بارِز
is not the same as with removed diacritics in mySql
هواى بر آفتاب بارز
Is there a way of telling mysql to ignore the diacritics or do I have to remove all the diacritics in my fields manually?
It’s a bit like case-insensitivity problem.
Just convert both strings to diacritic-free before comparing.