<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
in my template all non-ascii characters come out as ?. If i then switch to iso-8859-15 in the browser everything is right again.
But that shouldn't be since my DB, my tables and the connection all use an utf-8 collation according to phpMyAdmin. And i suppose it has to do with the DB because writing problematic letters directly in the template files works. So does anyone have an idea why this is happening?
Where would i have to put something like:
mysql_query("SET NAMES 'utf8';", $link);
mysql_query("SET CHARACTER SET 'utf8';", $link);for testing purposes, for example?
P.S.: Without any metatags the encoding ends up being windows-1252. But the files are on a linux server.

Sign In
Register
Help

MultiQuote