Suppose you've got a mySql database like this:
CREATE TABLE animals (`name` varchar(7));
INSERT INTO animals (`name`) VALUES ('häst'), ('apa'), ('orm'), ('ödla');
Now, if I would like to retrieve all animals with the character 'ä', I would use the query:
select * from animals where name like "%ä%";
Except this returns the animals "häst", "apa" and "ödla". It seems like it searches for the letter "a" instead, probably because it doesn't support UTF-8.
How can you make it support UTF-8?
I have character-set-server set to utf8mb4.