I have a database that contains some Greek characters. These are displaying as question marks in the browser.
I'm setting the content type in html as
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
I'm also sending a header of
header('Content-Type: text/html; charset=utf-8');
My database has CHARACTER SET utf8 COLLATE utf8_unicode_ci
The only way I can get it working is if I use the queries below but it's not ideal.
mysql_query("SET NAMES 'utf8'");
mysql_query("SET CHARACTER SET 'utf8'");
Do I need to do anything else on the database?