[問題] [問題] 關於phpbb2011網頁出現亂碼如何解決

phpBB Installation & Usage Support
phpBB 2 安裝於各類型作業平台之問題討論;外掛問題,請到相關版面依發問格式發表!
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

版面規則
本區是討論關於 phpBB 2.0.X 架設安裝上的問題,只要有安裝任何外掛,請到外掛討論相關版面按照公告格式發表。
(發表文章請按照公告格式發表,違者砍文)
主題已鎖定
minotaur
星球公民
星球公民
文章: 170
註冊時間: 2005-01-05 20:52
聯繫:

[問題] [問題] 關於phpbb2011網頁出現亂碼如何解決

文章 minotaur »

http://phpbb-tw.net/phpbb/viewtopic.php?t=30085

看過也改了,可是進入後台呈現的還是亂碼耶,如下圖

http://220.134.21.39/Untitled.bmp

爬過很多文,但不知哪個是正式2011版用的
所以也就不敢亂改\r

能否請教各位大大該如何解決
Mac
百戰天龍馬蓋先
百戰天龍馬蓋先
文章: 2590
註冊時間: 2003-02-02 02:28
來自: MacphpBBMOD
聯繫:

文章 Mac »

看不到圖

~Mac
+ 關於 phpBB 使用問題請在版面發問,私人訊息提供其他不相干或是隱私的事情聯絡之用。

phpBB 官網 | 竹貓星球 | MacphpBBMOD | 我的服務
bebe2803
星球公民
星球公民
文章: 117
註冊時間: 2005-01-24 19:31
來自: Hong Kong

文章 bebe2803 »

我之前有亂碼是在 apache 的 httpd.conf 改的...

\Apache2\conf 內的 httpd.conf

找 AddDefaultCharset

把那句改成

AddDefaultCharset big5

(雖說不建議改 httpd.conf 但這方法真的很有效)

另一個找到關於 code 的 mod

代碼: 選擇全部

############################################################## 
## MOD Title: Default Encoding
## MOD Author: billytcf <billytcf@hotmail.com> (N/A) N/A
## MOD Description: This mode changes the default encoding of phpBB2 to utf-8
## MOD Version: 1.0.0
## 
## Installation Level: Easy 
## Installation Time: 2 Minutes 
## Files To Edit:  
##		language/lang_english/lang_main.php 
## Included Files: n/a 
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/ 
############################################################## 
## Author Notes: The default encoding of phpBB2 is iso-8859-1, this causes problem when displaying chinese characters, this mode changes the default behaviour.
## 
############################################################## 
## MOD History: 
## 
##   2004-12-11 - Version 1.0.0
##      -  The initial release, support phpBB 2.0.11, not tested on others
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 

# 
#-----[ OPEN ]------------------------------------------ 
# 
language/lang_english/lang_main.php

# 
#-----[ FIND ]------------------------------------------ 
# 
$lang['ENCODING'] = 'iso-8859-1';

# 
#-----[ REPLACE WITH ]------------------------------------------ 
# 
$lang['ENCODING'] = 'utf-8';

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM 

你找的資料夾當然不是 english 而是中文那個

現在簡體字, 日文等也可以同時顯示(同一篇文有那 3 種文字也可以...), 又沒有繁體字亂碼...
怨念公社

phpBB 2.0.17, 8+1 個 template, 70+ mod...
主題已鎖定

回到「phpBB 2 安裝與使用」