All danish characters (æøå etc.) are replaced by questionmarks on my page. It's a classic
Everything (host, database, table) is set to utf8_unicode_ci in phpmyadmin
Every column in the table is set to utf8_unicode_ci
My webpage file is made and saved in UTF-8, and has the php header + meta:
header('Content-type: text/html; charset=utf-8');
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Then I run a mysql charset test in php:
var_dump($conn->get_charset());
The result?
["charset"]=> string(6) "latin1" ["collation"]=> string(17) "latin1_swedish_ci".. (trimmed vardump)
Why? And how can I fix this?