Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: 輸入中文字變成亂碼  (Read 22584 times)

0 Members and 1 Guest are viewing this topic.

skeepper

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
輸入中文字變成亂碼
« on: August 12, 2007, 05:19:06 am »

請問版主﹕我已安裝  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
« Last Edit: September 27, 2007, 09:52:06 am by CapriSkye »
Logged

ben.lee.h

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: 輸入中文字變成亂碼
« Reply #1 on: October 23, 2007, 07:42:52 pm »

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.....  :'(
Logged

pepsi68

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: 輸入中文字變成亂碼
« Reply #2 on: May 12, 2008, 09:25:32 am »

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

bill1984

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: 輸入中文字變成亂碼
« Reply #3 on: August 01, 2008, 05:09:21 pm »

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

chrisych

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: 輸入中文字變成亂碼
« Reply #4 on: January 07, 2009, 02:10:36 pm »

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

可否提供其詳細方法?

謝謝你的幫助!  ;D
Logged

chzuqi

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 22
    • Puzzz Jigsaw World
Re: 輸入中文字變成亂碼
« Reply #5 on: February 13, 2009, 06:50:07 pm »

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

Page created in 0.021 seconds with 18 queries.