Jul 23, 2010 at 7:49 PM
Edited Jul 23, 2010 at 7:50 PM
Hi all !
I'm trying to read russian text from xls file and end up with comething like this:
I'm fighting this problem for a week and just can't find the answer. I've searched here, and found nothing.
Can you help me, or just give me a clue where i should search for information or what i should read to be able to resolve the problem ?
I have mbstring extension turned on
Using next code:
$objReader = PHPExcel_IOFactory::createReaderForFile($filename);
$objPHPExcel = $objReader->load($filename);
$aSheet = $objPHPExcel->getActiveSheet();
foreach ( $aSheet->getRowIterator() as $row )
$cellIterator = $row->getCellIterator();
foreach($cellIterator as $key => $cell)
case 0: echo $cell->getValue();
case 1: echo $cell->getValue();
case 2: echo $cell->getValue();
Something like this.
Can anyone help me ?
P.S. Sorry for bad English.