after a week searching and test many way, still i stuck in this problem. a problem like this POST. i tried with that answer but my problem still not solved.
ok, let me explain. i trying to insert some utf-8 (persian/arabic), i have to mention this that i have not any problem with these character in my html/php page, this mean all un dynamic character are ok.
input is:
دوشنبه , ۱۱ اسفند ۱۳۹۳ , ۲۲:۲۵
in database is:
دوشنبه , Û±Û± اسÙند Û±Û³Û¹Û³ , Û²Û²:Û²Ûµ
output:
دوشنبه , ۱۱ اسفند ۱۳۹۳ , ۲۲:۲۵ �
it contains " � "
if i edit this field in database and enter new data, it will like this:
دوشنبه , ۱۱ اسفند ۱۳۹۳ , ۲۲:۲۵
but in output will show:
????
i tried many way, like SET NAMES 'utf8 and ini_set("default_charset", "UTF-8"); and etc.. but still have this problem.