#
# 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 ISO-8859-1
AddLanguage zh-cn .cn
AddLanguage cn .cn
AddCharset gb2312 .Gb2312 .gb2312
AddDefaultCharset gb2312
#
# Commonly used filename extensions to character sets. You probably
# want to avoid clashes with the language extensions, unless you
放到这里就可以了.
【 在 foxle (fox) 的大作中提到: 】
修改默认 Charset 头,在文件适当位置加入
AddLanguage zh-cn .cn
AddLanguage cn .cn
AddCharset gb2312 .Gb2312 .gb2312
AddDefaultCharset gb2312
以上好像不是随便加的
请问适当的位置是什么意思?
就事同类中么?
我默认的是西方文字(ISO-8859-1),所以汉字是乱码,怎么使浏览器默认为中文?
特别是: AddCharset gb2312 .Gb2312 .gb2312
不知道加到哪里,是AddCharset那一类中么?
另外我不但guest的左边没有内容(替代过guest-menu.htm
,但不知道为什么没有成功),而且正常用户的左边有两个重复的东西
【 在 atppp (Big Mouse) 的大作中提到: 】
: ctrl+g 6 guest
: smthbbs装完了以后web反正要改很多地方,所以这些小问题可能不少,
: 站点定制文件也有点乱,有空要理一下,恩。
: ...................
--
修改:foxle FROM 202.114.130.*
FROM 202.114.12.*