<?
$str = "שלום";
echo $str."<BR>";
$str = mb_convert_encoding($str, "UTF-8", "ISO-8859-8");
echo $str."<BR>";
?>
You should see latin latters or hebrew in $str. the charest in windows-1255 or ISO-8859-9 to the begining and the code traslate to UTF-8.
The string in hebrew is SHALOM, I wrote one a MySql PHP site in UTF-8,
I know it works fine on < PHP 4. I have hard time to understand, and I am very busy, so I don't have real time to go over the code. maybe the following weekend when my project is over.
The only probloms with mb_convert us far I know it must be done in the headers or it BBUUGG out.
sincerly,
Shlomo
P.S.
I forgot to add I am useing Microsoft windows XP home enable edition (Hebrew enable edition, means my Start menu is in Hebrew.....)
my site that needs about 7-9K products to be addes is http://www.jewish-shop.net