I have names in the database like
tést
The Autocomplete works fine and all and if I seach for it like this:
WHERE title LIKE '%tèst%'
It works fine. But now i also want to find this entry if the user enters
test
(without the accent). In most cases its fine as autocomplete fixes the user up, but of course not always. How can I change the query so that the needle “test” also finds “tést” (other way round does not matter)?
This works for me.
I tested this on MySQL 5.5.8 using utf8 charset and utf8_general_ci collation.
I tried searching for
where title like '%tèst%'andwhere title like '%test%', and both queries returned both “tèst” and “test”, which seems like what you want.Does it not work like this for you?