Charset problem

Topics: Developer Forum
Jul 3, 2008 at 2:22 PM
If I use PHPExcel to create XLSX documents, everything works fine.  As soon as I try to use the Excel5 factor and save an XLS, I receive the following errors when it is saving:

[02-Jul-2008 15:45:26] PHP Notice:  iconv(): Wrong charset, conversion from `UTF-8' to `UTF-16LE' is not allowed in /phpscripts/library/PHPExcel/Writer/Excel5/Worksheet.php on line 1564
[02-Jul-2008 15:45:26] PHP Notice:  iconv(): Wrong charset, conversion from `UTF-8' to `Windows-1252' is not allowed in /phpscripts/library/PHPExcel/Writer/Excel5.php on line 164

I am running PHP 5.2.5 using ZendCore for i5/OS.