|
|
windows xp_pro系统,apache_2.0.49-win32,安装完后,打开
http;//localhost中文显示 apache安装成功!当我写了
一个网页test.html(其中有英文、中文简体、繁体),放到htdocs目录下,
再打开http;//localhost/test.html时,能显示英文,但中文则是乱码出现!
也尝试过以下几种方法:
1、AddDefaultCharset ISO-8859-1改成 AddDefaultCharset gb2312
2、再增加这一行 AddCharset gb2312
3、AddDefaultCharset ISO-8859-1改成 AddDefaultCharset off
结果都无法显示中文。但打开:
http://127.0.0.1/index.html.zh-cn.gb2312
http://127.0.0.1/index.html.zh-tw.big5
明明能显示中文。为什么我写那个就不行呢?为什么? |
|