if ($encoding != 'UTF-16LE' && !function_exists('iconv')) {
die("Using an input encoding other than UTF-16LE requires PHP support for iconv");
}
if ($encoding != 'UTF-16LE' && !function_exists('iconv')) {
die("Using an input encoding other than UTF-16LE requires PHP support for iconv");
}
/*
if ($this->_BIFF_version == 0x0600) // Tried to fix the correct handling here, with the
{ // corrected specification from M$ - Joe Hunt 2009-03-08
/*
if ($this->_BIFF_version == 0x0600) // Tried to fix the correct handling here, with the
{ // corrected specification from M$ - Joe Hunt 2009-03-08
if ($encoding_string == 'UTF-16LE')
{
$strlen = function_exists('mb_strlen') ? mb_strlen($sheetname, 'UTF-16LE') : (strlen($sheetname) / 2);
if ($encoding_string == 'UTF-16LE')
{
$strlen = function_exists('mb_strlen') ? mb_strlen($sheetname, 'UTF-16LE') : (strlen($sheetname) / 2);