SimpleExcel.php
[Pman.Core] / SimpleExcel.php
index 501ecae..8009f71 100644 (file)
@@ -327,7 +327,7 @@ class Pman_Core_SimpleExcel extends Pman
                 continue;
             }
             
-            $v = @iconv('UTF-8', 'UTF-8//IGNORE', $v);
+            $v = @iconv('UTF-8', 'UTF-8//TRANSLIT//IGNORE', $v);
             
             $dataFormat = empty($col_cfg['dataFormat']) ? '' : $col_cfg['dataFormat'];
               
@@ -339,6 +339,7 @@ class Pman_Core_SimpleExcel extends Pman
                     || 
                     $dataFormat == 'string' ) {
                 $worksheet->writeString($start_row+$r, $c, $v, $format);
+                print_r($v);exit;
             } else {
           
                 $worksheet->write($start_row+$r, $c, $v, $format);