Post by alexdaydreaming » Wed Jul 08, 2009 6:08 pm

大家好,

雖然我的網站已安裝了中文的語言包,顯示也都正常, 但當我嘗試在管理台輸入中文的描述, 重量單位等等資料時, 一經儲存後, 所有的中文字都變成 "??" 網站要如何設定才可以輸入中文呢?

謝謝!

Alex

New member

Posts

Joined
Thu May 14, 2009 10:33 am

Post by ad1945 » Wed Jul 08, 2009 7:49 pm

Dear Alex,

I have test it more than 1 pc . It is OK.

But I have find another problem. If I use IE6 , we cannot see 'admin', 'modules', 'extension' items.

Best Regard
William

New member

Posts

Joined
Thu Jun 25, 2009 5:15 pm

Post by alexdaydreaming » Thu Jul 09, 2009 12:57 am

Hi William,

I use Linux Mint + FireFox 3.01, not sure if this will cause any problem but so far it works fine. Do I need to set anything special as the system cannot display the chinese words I input in the admin ???

Please check my web site http://www.sun-fast.com and click traditional chinese to see the problem.

Thanks and regards,
Alex

New member

Posts

Joined
Thu May 14, 2009 10:33 am

Post by alexdaydreaming » Thu Jul 09, 2009 2:55 pm

我終於知道輸入中文(或其他語言)的方法

適用於Opencart 1.2.8
更新 /system/database/mysql.php 檔案:

在第19行加入:

mysql_query("SET character_set_connection=utf8;", $this->link);

適用於Opencart 1.2.9
更新 /system/database/mysql.php 檔案:

在第19行加入:

mysql_query("SET character_set_connection=utf8;", $this->connection);

希望可以幫到大家啦 ::)
Alex

New member

Posts

Joined
Thu May 14, 2009 10:33 am

Post by cboy » Mon Jul 27, 2009 11:34 pm

alexdaydreaming wrote:大家好,

雖然我的網站已安裝了中文的語言包,顯示也都正常, 但當我嘗試在管理台輸入中文的描述, 重量單位等等資料時, 一經儲存後, 所有的中文字都變成 "??" 網站要如何設定才可以輸入中文呢?

謝謝!

Alex

估計你的中文語言包,不是UTF-8編碼。

可以用網頁編輯軟件dreamweaver,打開中文語言包的程序文件
選擇“修改” -> “頁面屬性” -> “標題和編碼” 是否是UTF-8編碼。

Newbie

Posts

Joined
Mon Jul 27, 2009 11:15 pm
Who is online

Users browsing this forum: No registered users and 6 guests