輸入中文字變成亂碼 輸入中文字變成亂碼
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

輸入中文字變成亂碼

Started by skeepper, August 12, 2007, 05:19:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

skeepper

請問版主﹕我已安裝  Coppermine Version: 1.4.10 設置如下﹕Language & Charset settings"Language": [ English ]"Character encoding":    [ Unicode (utf-8) ]問題﹕(1) 在後台  Language & Charset settings 內選擇  "Language": [Chinese_big5] 或  [Chinese_gb]  並點擊   "Save New Configaration" 後﹐仍然回到 "Language":  [ English ];(2) 在前台  Select Your Language 內選擇  Chinese Traditional 或  Chinese Simplified﹐ 版面文字例如 "首頁﹐注冊﹐登入"﹐ "18 張影像, 最新影像於 八月 09, 2007" 都能顯示中文﹐但用戶打字輸入的中文全部都變成問號 "?"。請協助並提供解決的方法。謝謝。p

ben.lee.h

I have similar problem.  Actually, my problem happens after re-installing my PC and all applications.

I did backup my database before the re-installation.  After restore the DB to the new system, all chinese characters become "???".  the strange thing is that when I view the content of the DB by MySQL Query Browser, i can see the chinese characters will no problem.  I then test the system by typing chinese on the web page (like creating a new album category), those chinese displayed normally on the page, however, when i review the just created category in the database, it is not readable (ie 亂碼).

So my case is, the original (from the original DB) chinese characters displayed as "???" on the web page but displayed normally on the query browser.  Howerver, newly typed chinese characters displayed normally on the web page but shows strange characters on the query browser.

Please help, i got huge number of photos and chinese characters in my old DB, i don't want to re-type all those chinese or rebuild my coppermine.....  :'(

pepsi68

我也遇到過這樣的問題,後來在建立SQL數據表的時候選擇編碼為utf-8,問題就解決了。

bill1984

奇怪了,我第一次装也是遇到这样的问题。

chrisych

Quote from: pepsi68 on May 12, 2008, 09:25:32 AM
我也遇到過這樣的問題,後來在建立SQL數據表的時候選擇編碼為utf-8,問題就解決了。

可否提供其詳細方法?

謝謝你的幫助!  ;D

chzuqi

我之前都出現過這樣的問題,後來我用word打開chinese.php,保存時候存為gb2132編碼,然後字符集改為gb就得了.希望可以幫到你