I have a function that extracts data from a DB and exports them to an excel file, the problem is that it does not show any characters or special characters (No.)
This is my code:
$this->excel->getActiveSheet()->setCellValue('I16', 'N° Serie'); header('Content-Type: application/vnd.ms-excel'); //mime type header('Content-Disposition: attachment;filename="'.$filename.'"'); header('Cache-Control: max-age=0');
What it prints to me:
utf8_encode () did not work, some help ... thanks!