1 頁 (共 1 頁)

[問題]語言修正問題

發表於 : 2004-12-01 14:05
thankyoume
我安裝了語言修正,但一開網頁時仍是亂碼\r
我搜尋了舊post,jason yang提到\r

會不會語法有限制!?
在lang_main.php加上這一條看看!!
<?php header ('Content-Type: text/html; charset=Big5'); ?>

請問是在那裡加上這行呢?
我試過在第一句加上這段,但是出現error
請問有何方法解決呢?

●架設主機作業系統:Windows2000
●快速架站程式:xampp
●上網方式:CABLE
●phpBB2 版本:phpBB 2.0.4
●網域名稱) :argung.no-ip.com
●phpBB2 連結網址: argung.no-ip.com

發表於 : 2004-12-01 14:08
flower
httpd.conf 內的預設編碼有改成 Big5 ?

發表於 : 2004-12-01 14:12
thankyoume
請問在那裡可找到這個文件呢?
謝謝

發表於 : 2004-12-01 14:17
thankyoume
找到了

發表於 : 2004-12-01 14:26
thankyoume
我找到了,但那個addcharater ser才是預設值呢?

發表於 : 2004-12-01 14:37
thankyoume
我改了httpd.conf後仍需加這條嗎?,因為即使改了仍有亂碼的問題
<?php header ('Content-Type: text/html; charset=Big5'); ?>

發表於 : 2004-12-01 14:46
flower
AddDefaultCharset Big5
LanguagePriority tw en da nl et fr de el it ja ko no pl pt pt-br ltz ca es sv

語言的順序可以考慮把 tw 放置在最前方 ;)

您改完 httpd.conf 要重新啟動 apache 才會生效