I'm using the PHP-Excel-Reader library to read some XLS files and immediately have hit this issue:
PHP Notice:
iconv()
[function.iconv]: Detected an incomplete multibyte character in input string in C:\web\docs\housing\excel_reader2.php on line 1718
The line in question is this:
$result = iconv('UTF-16LE', $this->_defaultEncoding, $string);
And I've added some debugging info before that to help diagnose the problem:
var_dump($string); // string(10) "A�r�i�a�l�"
echo bin2hex($string) . "\n"; // 41007200690061006c00
echo $this->_defaultEncoding . "\n"; // UTF-8
I've tried changing to the _defaultEncoding
to any number of random charsets but it obviously hasn't helped.
If anyone has any clues, please do help!