Encode csv so that ir displays special characters
Posted: Wed Dec 08, 2010 5:08 am
Im new to php and can't get it work right. I succesfully update my csv file, but when I import it in the excel - no special characters (non - english) are displayed. I believe I need to encode in some way....
any ideas?
Thanks
any ideas?
Code: Select all
$File = "stats.csv";
$Handle = fopen($File, 'a');
$Data = $someData . "\n";
fwrite($Handle, $Data);
fclose($Handle);