I have some special characters for values coming from database like æ and Ø. When I inspect the database using phpmyadmin on both XAMPP and online, this is how it appears:
But in the processed PHP page, it appears fine locally, but not on the server. So basically, there is some problem on the online version which is preventing these values from being displayed properly.
I already have this in my head portion:
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
And in my .htaccess file:
AddDefaultCharset UTF-8
DefaultLanguage en-US
Collation is latin1_swedish_ci
for the database, I tried switching it to utf-8 and that didn't help.