SimpleExcel.php
authorAlan Knowles <alan@roojs.com>
Fri, 12 Sep 2014 05:28:59 +0000 (13:28 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 12 Sep 2014 05:28:59 +0000 (13:28 +0800)
SimpleExcel.php

index 23a81b5..deba8d2 100644 (file)
@@ -302,7 +302,7 @@ class Pman_Core_SimpleExcel extends Pman
         foreach($cfg['cols']  as $c=>$col_cfg) {
             
             if(isset($col_cfg['dataIndex']) && isset($cl[$col_cfg['dataIndex']])){
-                $v = @iconv("UTF-8", "UTF-8//IGNORE", $cl[$col_cfg['dataIndex']]);
+                $v = 'xx' . @iconv("UTF-8", "UTF-8//IGNORE", $cl[$col_cfg['dataIndex']]) . 'xx';
                 
             }else{
                 if(isset($col_cfg['fillBlank'])){