森林之原
五月 23, 2012, 09:17:12 pm *
歡迎光臨, 訪客. 請先 登入註冊一個帳號.

請輸入帳號, 密碼以及預計登入時間
新聞: CPG 1.4.3 繁體中文完成,請到 CPG 的版面下載。
 
   首頁   說明 搜尋 日曆 登入 註冊  
頁: [1]   向下
  寄送主題  |  列印  
作者 主題: after installing chinese utf8 lang pack, zencart needs to change MSIE encoding?  (閱讀 4632 次)
0 會員 以及 1 訪客 正在閱讀本篇主題.
joecheng
訪客
« 於: 十二月 29, 2004, 05:18:35 am »

Hi,

i tried to install the chinese lang pack with utf-8 file, but i encountered some problem. can you help take a look?

problem: after installing chinese lang pack, i have difficulty opening the zen-cart web pages in chinese. Instead, it shows mostly unrecognized miscodes. however, the chinese lang problem from zen-cart web page is doing ok after I change the IE brower encoding to utf-8. The default code is ISO (western europe)

however, i notice that when i open your http://open.38.com/zencart, it shows chinese instantly and correctly. no need to do the encoding. can you give me some advice? it took me 2 days on this, and i still cannot work it out. Thanks a lot for your advice and your effort to come out with the lang pack.

FYI. I use xampp package with mysqq=4.1.7 and set the character=utf8 in the db for zencart.

cmd: mysql>show variables like 'char%';  => showing that below are all set to utf8 in my pc
 - character_set_client
 - character_set_connection
 - character_set_database
 - character_set_results
 - character_set_server
 - character_set_system
向版主檢舉   已記錄
Andrew::
魔,羯
*
離線 離線

文章: 217



個人網站
« 回覆文章 #1 於: 十二月 29, 2004, 05:27:48 am »

change both chinese_tc-utf-8.php in admin and client's charset to utf-8
if still doesn't help, you'll need to do a hard encode for your website to utf-8
if you're using apache, go to conf and set DefaultCharSet to utf-8
if youi're uisng iis, god knows how smiley01_040
向版主檢舉   已記錄

seethrou
訪客
« 回覆文章 #2 於: 一月 01, 2005, 03:50:38 pm »

Please try to add the following codes to two files, they are

appliication_top.php

both of theem located in
 ./admin/includes/application_top.php
 ./includes/application_top.php

In the end of the files add
程式碼:
<?php 
header
("Content-Type: text/html; charset=" CHARSET);
?>


I have tried and solved this problem in two of my ZC and no need to config language encoding of the severs.
Good luck!

Bye,
向版主檢舉   已記錄
頁: [1]   向上
  寄送主題  |  列印  
 
前往:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006, Simple Machines LLC Valid XHTML 1.0! Valid CSS!