I have in my MySQL (Server version: 5.6.14 & Server charset: UTF-8 Unicode (utf8)) database a table with some names (written in Dutch) like:
- Afrika
- Antarctica
- Azië
- Europa
- Noord-Amerika
- Oceanië
- Zuid-Amerika
- Angola
- Argentinië
- Aruba
- Australië
- België
- Brazilië
- Burma
Using PHP I have written a search method that tries to find names in the database based on user input. When an user searches for 'Azie' it should find 'Azië'.
Is there a PHP or MySQL function to solve this issue? Because the search method is searching in more tables than only this location table I don't want to use extra tables or columns with alternative notations. This will make it more complex.
I set the mysqli charset with $mysqli->set_charset("utf8") also the HTML document is utf8.