[請益] 有人用過php excel reader亂碼問題

看板PHP作者 (阿天)時間17年前 (2008/12/30 18:07), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
這是一個滿好用的PHP讀Excel檔的程式 我用 $data->setOutputEncoding('utf-8'); 設定之後,在example.php看是能顯示中文(中文是我我我) 不過 example2.php 就沒辦法了 不知道是哪邊有問題 http://supergm.net/ptt/e/example.php http://supergm.net/ptt/e/example2.php 檔案下載 http://supergm.net/ptt/a.rar (官方版本幾個檔案要修改,這個是直接可以用了) 檔案也存為UTF8 然後也試著在前面加上 meta (沒包在a.rar中) 因為想說他內建的 example.php 跟 example2.php 應該是一樣的 可是不知道為什麼一個顯示地出來中文 另一個不行 謝謝 補充 http://supergm.net/ptt/e/ phpinfo 有gooo到一些資料 http://0rz.tw/3f5hu 這邊有提到一點,不過好像不是版本過舊的問題吧 ? -- 幹你媽的,敢喊胡就馬上送你一桶! ◢█ 要胡?不胡?由你來決定! φdokutenshi ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ▄▄ ─⊙-⊙- II II II                 II II II II II II           -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 203.207.2.26 ※ 編輯: dspswen 來自: 203.207.2.26 (12/30 18:16)
文章代碼(AID): #19MVBf2K (PHP)
文章代碼(AID): #19MVBf2K (PHP)