Selam beyler,
Ben php üzerinden excel için bir rapor vermek istiyorum, ben bu kodu yazdım:
header("Expires: 0");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header( "Content-type: application/vnd.ms-excel; charset=UTF-8" );
header("Content-Disposition: attachment; filename=test.xls");
$data = html_entity_decode( $data ,ENT_NOQUOTES,'utf-8');
$data = chr(255).chr(254).iconv("UTF-8","UTF-16LE",$data);
print $data;
exit();
but it is not working well, my project is arabic and I must encode all characters, so kindly inform me how can I handle it?
Saygılarımızla,
Mikrofon