Page 1 of 1

mysql query not inserting non latin correctly

Posted: Sun Sep 13, 2009 8:15 am
by dflow
for some reason hebrew letters come out only in the database as hex values
when using
<?php mysql_query("SET NAMES 'utf8'")?>

and when adding and setting the html meta to

<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
returns סדסדסד characters in the databse

the db is set to utf8_unicode_ci
why ? and what fixes this?