1 頁 (共 1 頁)

如何將網頁自動轉成UTF-8

發表於 : 2006-02-07 11:56
TAZCLUB
lang_main.php 我已經更改為utf-8了..還是沒用

發表於 : 2006-02-07 13:13
oscerropper
找找\r

$lang['ENCODING'] =

是否為 utf-8

cheer!

發表於 : 2006-02-16 06:25
mathfeel
oscerropper 寫:找找\r

$lang['ENCODING'] =

是否為 utf-8

cheer!
改了以後,有以下的警告:

代碼: 選擇全部

Warning: Cannot modify header information - headers already sent by (output started at /home/zpzstudi/public_html/forums/language/lang_english/lang_main.php:1) in /home/zpzstudi/public_html/forums/includes/page_header.php on line 483

Warning: Cannot modify header information - headers already sent by (output started at /home/zpzstudi/public_html/forums/language/lang_english/lang_main.php:1) in /home/zpzstudi/public_html/forums/includes/page_header.php on line 485

Warning: Cannot modify header information - headers already sent by (output started at /home/zpzstudi/public_html/forums/language/lang_english/lang_main.php:1) in /home/zpzstudi/public_html/forums/includes/page_header.php on line 486
但把'ENCODING'改回去沒有幫助。現在把那三行comment out.

請問爲什麼?

.....

發表於 : 2006-02-16 07:38
jwxie
如果你是big-5
要自動改成utf-8
有兩種方法
一種是用.htacess檔案去捉
第二是轉好MYSQL和語言檔
請參考
http://www.phpbb-tw.net/phpbb/viewtopic.php?t=42358