I insert/update text to utf8_unicode_ci encoded table with mysql_query("SET NAMES 'utf8'");
It appears like “ş,ğ,ü” in the mysql table. But when i print it with PHP,
it appears like “� ??” on the page.
I tried to add
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
but didn’t work.
How can i show unicode chars correctly on the page ?
Thanks
You should be using :
instead of
and I would suggesting setting headers in PHP too