Jump to content

mysql query not inserting non latin correctly


dflow

Recommended Posts

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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.