Page 1 of 1
怎樣打中文?
Posted: Wed Jul 08, 2009 6:08 pm
by alexdaydreaming
大家好,
雖然我的網站已安裝了中文的語言包,顯示也都正常, 但當我嘗試在管理台輸入中文的描述, 重量單位等等資料時, 一經儲存後, 所有的中文字都變成 "??" 網站要如何設定才可以輸入中文呢?
謝謝!
Alex
Re: 怎樣打中文?
Posted: Wed Jul 08, 2009 7:49 pm
by ad1945
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
Re: 怎樣打中文?
Posted: Thu Jul 09, 2009 12:57 am
by alexdaydreaming
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
Re: 怎樣打中文?
Posted: Thu Jul 09, 2009 2:55 pm
by alexdaydreaming
我終於知道輸入中文(或其他語言)的方法
適用於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
Re: 怎樣打中文?
Posted: Mon Jul 27, 2009 11:34 pm
by cboy
alexdaydreaming wrote:大家好,
雖然我的網站已安裝了中文的語言包,顯示也都正常, 但當我嘗試在管理台輸入中文的描述, 重量單位等等資料時, 一經儲存後, 所有的中文字都變成 "??" 網站要如何設定才可以輸入中文呢?
謝謝!
Alex
估計你的中文語言包,不是UTF-8編碼。
可以用網頁編輯軟件dreamweaver,打開中文語言包的程序文件
選擇“修改” -> “頁面屬性” -> “標題和編碼” 是否是UTF-8編碼。