httpd.conf 里 AddDefaultCharset GB2312重启web服务器

解决方案 »

  1.   

    我也是这个问题
    以前是.html和.php文件都不支持中文
    给我瞎改改
    现在.php能显示中文了
    但是.html却又不能显示中文了
    是乱码
    必须在浏览器--查看--编码里选择GB2312才能正确显示
      

  2.   

    php.ini 里有一项.default_charset = "gb2312"
      

  3.   

    http://www.eaoo.com/design/list.asp?classid=2&Nclassid=9
      

  4.   

    httpd.conf 里 AddDefaultCharset GB2312
      

  5.   

    httpd.conf 
    有一行:
    DefaultCharset GB2312
    重启apache
      

  6.   

    #让apache2默认中文显示 
    #添加: 
    AddLanguage zh-cn .cn 
    DefaultLanguage zh-cn 
    #修改: 
    AddDefaultCharset ISO-8859-1 ---> AddDefaultCharset GB2312 
    ########################################### http://expert.csdn.net/Expert/topic/2287/2287764.xml?temp=4.116458E-02
      

  7.   

    http://expert.csdn.net/Expert/FAQ/FAQ_Index.asp?id=118218
      

  8.   

    html网页不能支持中文是因为你在网页内少加了这一句
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">