Page 1 of 1

iconv Error

Posted: Tue Jul 08, 2008 11:31 am
by rednival
I am using the PHPExcel class library to generate Excel documents for a project I am working on. The library supports saving in both XLS and XLSX. Saving as XLSX works fine, but when saving to XLS, I get the following error:

[08-Jul-2008 12:17:31] 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
[08-Jul-2008 12:17:31] 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

Since I am not too familiar with the iconv function, I am looking for any help I can get on this issue.

We are running PHP 5.2.5 on i5/OS. I'm sure I may be leaving off other information needed to assist with this issue, so please let me know.