Using Symfony2.3.4 and PHP5.6.3 and PHPExcel1.8.0
Is there a way to workaround this?
See, when I call
$objPHPExcel->getProperties()
->setCreator($creator)
->setLastModifiedBy($creator)
->setTitle($name);
$objWriter = \PHPExcel_IOFactory::createWriter($objPHPExcel,
$ext == 'xls' ? 'Excel5' : 'Excel2007');
$objWriter->save('downloads/' . $name . '.' . $ext);
The name of the file has to be in Spanish, therefore I need to use characters like á, é, í, etc.
Both the title and the name end up getting those type of characters replaced with
Ã-
(for í
) , ó
(for ó
), etc.
thanks