[請益] 有人用過php excel reader亂碼問題
這是一個滿好用的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 發 發 G A S
◥█︶◤ 萬 萬 萬 ● ● ● II II II
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 203.207.2.26
※ 編輯: dspswen 來自: 203.207.2.26 (12/30 18:16)
PHP 近期熱門文章
PTT數位生活區 即時熱門文章
0
16