Problems with special characters (probably character encoding)

Topics: User Forum
Sep 26, 2010 at 11:58 PM

I try to create an Excel file with PHPExcel, but as soon as I use german "Umlaute" (meaning: ä, ö, ü) - I get the following PHP error:

iconv() [<a href='function.iconv'>function.iconv</a>]: Detected an illegal character in input string (File: /var/www/htdocs/library/PHPExcel/Shared/String.php, Line: 190)

Has anyone any experience with this error? As I suppose PHPExcel supports these characters, it is maybe a problem with the character encoding?

Coordinator
Sep 27, 2010 at 10:36 PM

Convert your string to UTF-8 before trying to set it as a cell value