I have created an autocomplete that matches against a list of names in a database.
The database that I'm working contains a ton of names with special characters, but the end users are most likely going to search with the English equivalent of those names, e.g. Bela Bartok
for Béla Bartók
and Dvorak
for Dvořák
, etc. Currently, doing the English searches returns no results.
I have come across threads saying that the way to solve this is to change your MySQL collation to utf8 (which I have done to no avail).
I think that this may be because I used utf8_unicode_ci
, but the one that would get the results that I want is utf8_general_ci
. The problem with the latter though is that all the comments say to no longer use it.
Does anyone know how I can solve this problem?