I am having frustrating times with performing Diacritic/accent insensitive searches of my database.
I have a table with alternative language terms stored in it. I have ensured that it has been set to use utf8 and collated in utf8_general_ci (I have also tried _bin and _unicode_ci).
The trouble is that:
- Search for
HahnchenwhenHähnchenis stored it will yield a result - Search for
HähnchenwhenHähnchenis stored will not yield a result
If I work in phpmyadmin I can save values as above:
Hähnchen
But, working from my scripts this gets converted to:
Hühnchen
- Search for
HahnchenwhenHühnchenis stored it will not yield a result - Search for
HähnchenwhenHühnchenis stored will yield a result
Is there anything I am missing? I've read dozens of similar posts with no definitive answer (everything I have tried has failed).