I have a file that is XLS extension and when I try to upload it to just run it through the iterator sample. I am using this code to get the worksheet:
$objPHPExcel = $objReader->load($siteFilePath.$siteFolder."/uploads/".$newFileName);
$sheet = $objPHPExcel->getActiveSheet();
It works fine for most all samples I have tried. But one came back with this message:
Fatal error: Uncaught exception 'Exception' with message 'Unknown codepage: 0' in C:\htdocs\classes\PHPExcel\Shared\CodePage.php:91
I looked in there and realized there is no default case for codepage and am trying to figure out 2 things....
1) Why would a document return a 0 for that?
2) Why is there no default to Unicode or something generic?