I have a .CSV file that have an arabic data and i need to import this file into the sql database using PHP. my code doing it just fine except that the arabic characters inserted into the database as 'ËËËË','ÚÚÚÚ'.
what should i do to insert that data right.
any ideas?
$filename = $_FILES['upload']['tmp_name'];
$file = fopen($filename, "r");
while (($emapData = fgetcsv($file, 1000, ";")) !== FALSE){
$emapData[0];
var_dump($emapData[0]); //'ËËËË','ÚÚÚÚ'
}