喜悦国际村 
» 游客:  注册 | 登录 | 搜索 | 统计 | 帮助

RSS 订阅当前论坛  

喜悦证交所已经关闭

上一主题 下一主题
 16  1/2  1  2  > 
     
标题: Rh9+apache2不支持html显示中文?  
 
molei (molei)
注册会员
Rank: 2
中级会员



UID 18240
精华 0
积分 147
帖子 147
金钱 147 喜悦币
威望 0
人脉 0
阅读权限 20
注册 2003-2-2
状态 离线
Rh9+apache2不支持html显示中文?

启动HTTPD后,发现自己写的HTML页内中文不能正确显示出来?是乱马??

请问个位!应该如何解决这个问题啊?
2003-10-8 07:02 PM#1
查看资料  发短消息  QQ . .   顶部
 
molei (molei)
注册会员
Rank: 2
中级会员



UID 18240
精华 0
积分 147
帖子 147
金钱 147 喜悦币
威望 0
人脉 0
阅读权限 20
注册 2003-2-2
状态 离线
[推荐阅读] 像天空软件站的下载系统显示下载页面是怎么实现的?
AddDefaultCharset ISO-8859-1 删除了
AddDefaultCharset ??????    添加的

执行 service httpd restart

问题依然存在???
2003-10-8 07:19 PM#2
查看资料  发短消息  QQ . .   顶部
 
ppgo (ppgo)
新手上路
Rank: 1
初级会员



UID 7280
精华 0
积分 20
帖子 20
金钱 20 喜悦币
威望 0
人脉 0
阅读权限 10
注册 2001-3-6
状态 离线
[推荐阅读] 问个问题,windows下编好的php程序在linux服务器上运行会不会有问题?
AddDefaultCharset off
2003-10-8 07:26 PM#3
查看资料  访问主页  发短消息  QQ . .   顶部
 
molei (molei)
注册会员
Rank: 2
中级会员



UID 18240
精华 0
积分 147
帖子 147
金钱 147 喜悦币
威望 0
人脉 0
阅读权限 20
注册 2003-2-2
状态 离线
[推荐阅读] 再问个问题,怎样防止服务器上的php文件被人下载啊?
删除了前面两行,加入了AddDefaultCharset off后执行 service htppd restart

还是老样子!!
我继续顶!!!
2003-10-8 07:30 PM#4
查看资料  发短消息  QQ . .   顶部
 
molei (molei)
注册会员
Rank: 2
中级会员



UID 18240
精华 0
积分 147
帖子 147
金钱 147 喜悦币
威望 0
人脉 0
阅读权限 20
注册 2003-2-2
状态 离线
[推荐阅读] 求解:关于以关键字归类,该函数哪句错了?
我的httpd.conf内有下面行

AddCharset ??????      .?????? .gb
AddCharset utf-7       .utf7
AddCharset utf-8       .utf8
AddCharset big5        .big5 .b5
AddCharset EUC-TW      .euc-tw
AddCharset EUC-JP      .euc-jp
AddCharset EUC-KR      .euc-kr
AddCharset shift_jis   .sjis
不知道为什么不正正常显示出中文内容啊?
2003-10-8 07:36 PM#5
查看资料  发短消息  QQ . .   顶部
 
molei (molei)
注册会员
Rank: 2
中级会员



UID 18240
精华 0
积分 147
帖子 147
金钱 147 喜悦币
威望 0
人脉 0
阅读权限 20
注册 2003-2-2
状态 离线
[推荐阅读] 世界难题???php
这个问题很难解决?
2003-10-8 08:14 PM#6
查看资料  发短消息  QQ . .   顶部
 
batman (batman)
中级会员
Rank: 3Rank: 3
中级会员



UID 18414
精华 0
积分 273
帖子 273
金钱 273 喜悦币
威望 0
人脉 0
阅读权限 30
注册 2003-2-17
状态 离线
[推荐阅读] 婚姻
再加两句试试:
DefaultLanguage ??????
AddLanguage zh-cn .cn
2003-10-8 08:37 PM#7
查看资料  发短消息  顶部
 
molei (molei)
注册会员
Rank: 2
中级会员



UID 18240
精华 0
积分 147
帖子 147
金钱 147 喜悦币
威望 0
人脉 0
阅读权限 20
注册 2003-2-2
状态 离线
[推荐阅读] 请帮忙指点一下我为什么不能用for语句把mysql数据库里的新闻标题完全输出呀,而只
问题依然老样子!!


#
# 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 ??????
DefaultLanguage ??????
AddLanguage zh-cn .cn

#ISO-8859-1
#
# 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
AddCharset Big5        .Big5       .big5
# For russian, more than one charset is used (depends on client, mostly):
AddCharset WINDOWS-1251 .cp-1251   .win-1251
AddCharset CP866       .cp866
AddCharset KOI8-r      .koi8-r .koi8-ru
AddCharset KOI8-ru     .koi8-uk .ua
AddCharset ISO-10646-UCS-2 .ucs2
AddCharset ISO-10646-UCS-4 .ucs4
AddCharset UTF-8       .utf8

# The set below does not map to a specific (iso) standard
# but works on a fairly wide range of browsers. Note that
# capitalization actually matters (it should not, but it
# does for some browsers).
#
# See ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets
# for a list of sorts. But browsers support few.
#
AddCharset ??????      .?????? .gb
AddCharset utf-7       .utf7
AddCharset utf-8       .utf8
AddCharset big5        .big5 .b5
AddCharset EUC-TW      .euc-tw
AddCharset EUC-JP      .euc-jp
AddCharset EUC-KR      .euc-kr
AddCharset shift_jis   .sjis

#
2003-10-8 09:25 PM#8
查看资料  发短消息  QQ . .   顶部
 
molei (molei)
注册会员
Rank: 2
中级会员



UID 18240
精华 0
积分 147
帖子 147
金钱 147 喜悦币
威望 0
人脉 0
阅读权限 20
注册 2003-2-2
状态 离线
[推荐阅读] 大家好!
ding
2003-10-8 09:39 PM#9
查看资料  发短消息  QQ . .   顶部
 
maomao (maomao)
注册会员
Rank: 2
一般会员



UID 22420
精华 0
积分 80
帖子 81
金钱 80 喜悦币
威望 0
人脉 0
阅读权限 20
注册 2003-8-12
来自 广东东莞
状态 离线
[推荐阅读] 打了sp4以后session就无法提交了!请帮帮我。
把AddDefaultCharset加上#去掉
2003-10-9 12:55 AM#10
查看资料  发短消息  QQ . .   顶部
 16  1/2  1  2  > 
     


  可打印版本 | 推荐给朋友 | 订阅主题 | 收藏主题 | 开通个人空间  


 




Powered by Discuz! 6.1.0  © 2001-2010 Comsenz Inc.
Processed in 0.061240 second(s), 6 queries

(冀ICP备05009913号) 管理员:sadly 邮箱/MSN: sadly@phpx.com QQ:824008(长隐) 清除 Cookies - - Archiver - WAP