This question already has an answer here:
it was working fine on my old server, but when i shift it on new server, i am facing the probolem.
when i try to fetch Arabic data from the MySQL , i am getting these characters. الصÙØØ© الرئيسية
but when i write the Arabic content directly on my page it shows perfectly.
i already try these, but facing the same problem.
<?php @mysql_query("set global character_set_results=utf8");
@mysql_query("SET NAMES utf8;");
@mysql_query("SET CHARACTER_SET utf8;");?>
</div>