1

Possible Duplicate:
How to make MySQL handle UTF-8 properly

I'm trying to add an Hebrew in my data base From a simple form I get letters like this

שלו×

Instead of

"שלום"

link

But I can not

What is the problem ,and whether it can be fixed? Thanks to anyone who can help

Community
  • 1
  • 1
user1780343
  • 1,439
  • 2
  • 9
  • 10

1 Answers1

1

Select utf-8 charset.

mysql_set_charset('utf8',$link);

http://php.net/manual/en/function.mysql-set-charset.php

Aamir Abro
  • 838
  • 12
  • 24