I am facing problem with charset=utf-8
,basically i am generating csv file using php but when i open this file on Libra office its asking me for uni code and showing 敄慴汩䌠湡楤慤整删䝁删灥牯
,if I select uni code to utf-8 its working,how i can set uni code though my code.
$output = "Detail Report";
$filename = $assesseeName.".csv";
header('Content-type: application/csv; charset=utf-8');
header('Content-Disposition: attachment; charset=utf-8 ;filename='.$filename);
echo $output;
exit;