51Testing软件测试论坛

标题: 关于bugzilla英文本版下报表显示中文乱码 [打印本页]

作者: qq33046881    时间: 2009-2-19 15:21
标题: 关于bugzilla英文本版下报表显示中文乱码
哪为大侠能够解决英文版下报表显示中文乱码问题,GD到底支不支持中文,大家有什么好的解决方案啊?谢谢啊
作者: joywood    时间: 2009-2-23 11:33
修改httpd.conf文件,将AddDefaultCharSet ISO改为GB2312,重新启动httpd服务。
作者: joywood    时间: 2009-2-23 11:34
修改httpd.conf文件,将AddDefaultCharSet ISO改为GB2312,重新启动httpd服务。
作者: badhj    时间: 2009-2-25 14:14
iis服务器怎么更改啊
作者: huamao2006    时间: 2009-2-25 15:01
我是在Linux下安装的,按照2楼说的方法,不能解决问题啊。
失败原因:未在httpd.conf文件中找到AddDefaultCharSet ISO;
希望解决:请问下在httpd.conf文件中的具体什么位子加入AddDefaultCharSet GB2312啊?
作者: bill_hen    时间: 2009-2-26 09:18
先要搞清乱码问题出在哪里:
1。 Browser decode 问题, change to GB3212, 看看能否正确显示。
2。Server Encoding 问题, Mysql DB, in and out.

-------------------------
QQ: 546562584
作者: joywood    时间: 2009-2-26 14:57
第790行
#
# Specify a default charset for all pages sent out. This is
# always a good idea and opens the door for future internationalisation
# of your web site, should you ever want it. Specifying it as
# a default does little harm; as the standard dictates that a page
# is in iso-8859-1 (latin1) unless specified otherwise i.e. you
# are merely stating the obvious. There are also some security
# reasons in browsers, related to javascript and URL parsing
# which encourage you to always set a default char set.
#
AddDefaultCharset GB2312(第790行)

#
# Commonly used filename extensions to character sets. You probably
# want to avoid clashes with the language extensions, unless you
# are good at carefully testing your setup after each change.
# See ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets for
# the official list of charset names and their respective RFCs
#
AddCharset ISO-8859-1  .iso8859-1  .latin1
AddCharset ISO-8859-2  .iso8859-2  .latin2 .cen
AddCharset ISO-8859-3  .iso8859-3  .latin3
AddCharset ISO-8859-4  .iso8859-4  .latin4
AddCharset ISO-8859-5  .iso8859-5  .latin5 .cyr .iso-ru
AddCharset ISO-8859-6  .iso8859-6  .latin6 .arb
AddCharset ISO-8859-7  .iso8859-7  .latin7 .grk
AddCharset ISO-8859-8  .iso8859-8  .latin8 .heb
AddCharset ISO-8859-9  .iso8859-9  .latin9 .trk
AddCharset ISO-2022-JP .iso2022-jp .jis
AddCharset ISO-2022-KR .iso2022-kr .kis
AddCharset ISO-2022-CN .iso2022-cn .cis
作者: joywood    时间: 2009-2-26 14:58
第790行
#
# Specify a default charset for all pages sent out. This is
# always a good idea and opens the door for future internationalisation
# of your web site, should you ever want it. Specifying it as
# a default does little harm; as the standard dictates that a page
# is in iso-8859-1 (latin1) unless specified otherwise i.e. you
# are merely stating the obvious. There are also some security
# reasons in browsers, related to javascript and URL parsing
# which encourage you to always set a default char set.
#
AddDefaultCharset GB2312(第790行)

#
# Commonly used filename extensions to character sets. You probably
# want to avoid clashes with the language extensions, unless you
# are good at carefully testing your setup after each change.
# See ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets for
# the official list of charset names and their respective RFCs
#
AddCharset ISO-8859-1  .iso8859-1  .latin1
AddCharset ISO-8859-2  .iso8859-2  .latin2 .cen
AddCharset ISO-8859-3  .iso8859-3  .latin3
AddCharset ISO-8859-4  .iso8859-4  .latin4
AddCharset ISO-8859-5  .iso8859-5  .latin5 .cyr .iso-ru
AddCharset ISO-8859-6  .iso8859-6  .latin6 .arb
AddCharset ISO-8859-7  .iso8859-7  .latin7 .grk
AddCharset ISO-8859-8  .iso8859-8  .latin8 .heb
AddCharset ISO-8859-9  .iso8859-9  .latin9 .trk
AddCharset ISO-2022-JP .iso2022-jp .jis
AddCharset ISO-2022-KR .iso2022-kr .kis
AddCharset ISO-2022-CN .iso2022-cn .cis




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2