mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-23 13:56:05 +03:00
Fix to rewind filepointer when testing BOM marker
This commit is contained in:
parent
7a7634fba6
commit
9c881ea4d1
@ -144,7 +144,7 @@ class PHPExcel_Reader_CSV extends PHPExcel_Reader_Abstract implements PHPExcel_R
|
|||||||
*/
|
*/
|
||||||
protected function _skipBOM()
|
protected function _skipBOM()
|
||||||
{
|
{
|
||||||
rewind($fileHandle);
|
rewind($this->_fileHandle);
|
||||||
|
|
||||||
switch ($this->_inputEncoding) {
|
switch ($this->_inputEncoding) {
|
||||||
case 'UTF-8':
|
case 'UTF-8':
|
||||||
|
Loading…
Reference in New Issue
Block a user