Saturday, 28 September 2013

how to define multiple languages in html 4

how to define multiple languages in html 4

I want to build my website in Hebrew lang.
When I write
<meta charset="utf-8">
in the title the labels are looks good but the letters from the DB are all
question mark - "????"
When I write
<meta charset="windows-1255">
letters from DB are OK but all labels are "???".
BTW - I'm also use this code after connecting to the DB:
mysql_query("SET NAMES 'hebrew'");
setlocale(LC_ALL, 'he');
how can I fix that?

No comments:

Post a Comment