In a PHP script I am doing the (hardcoded) MySQL-Request:
SELECT text FROM `mytexts` WHERE text LIKE '%ö%'
which wrongly returns the text "willkommen" (but not the text "willkammen") as well.
I have tried to have everything set correctly for UTF8:
The source code file is in "UTF8 without BOM".
Database, tables and fields (except the numeric fields) are collated as "utf8_unicode_ci".
The connection is done by
$server = mysqli_connect($dbhostname,$dbuser,$dbpass,$dbname);
followed bymysqli_set_charset($server, "utf8");
The data ("willkommen" and "willkammen") has been entered by a hardcoded INSERT
What do I have to do to get my SELECT work correctly?