I have a column with nickname that it's collection is utf8-general-ci
and table collection is UTF-8. But persian/arabic text stores in it like below.
https://i.stack.imgur.com/CCWOa.png
How should Solve this problem?
I use this code to save
$sql = "INSERT INTO kashef_users(nickname ,username ,email ,ostan ,age ,gender ,sdk ,phonename ,imei ,time ) VALUES ".$data;
$data
contains a a string and everything in data is correct