forum.coppermine-gallery.net

Support => 中文 (Chinese) => Closed boards => Language Specific Support => cpg1.4.x 中文 (Chinese) => Topic started by: fotoman on October 27, 2005, 03:34:08 pm

Title: 选择blackbirch布景后在Mozilla Firefox浏览器
Post by: fotoman on October 27, 2005, 03:34:08 pm
Coppermine 选择blackbirch布景后在Mozilla Firefox浏览器中出现语言乱码问题的解决。

选择blackbirch布景后,中文全部乱码,每次浏览都要在IE查看/编码中将文字编码设置为简体中文(GB2132)才能正确显示中文。解决办法:在Coppermine设定中将默认文字编码Default(language file)设置成Chinese-simplified(euc-cn)在IE浏览器可以正常显示中文。但在Mozilla Firefox浏览器中仍然中文显示乱码。
      经过摸索,找到了解决办法:
打开themes/blackbirch的template.html文档,找到这句:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
将iso-8859-1改为{CHARSET}即:
<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />
问题解决。

我的网站:www.bofoto.com