在php.ini中设置“display_errors=on”

解决方案 »

  1.   

    用header()强制指定字符编码.<head>区内的指定一般不起作用.
    <?php
    header('Content-type: text/html; charset=utf-8');//utf-8或其他.
    ...
    ...
    ?>
      

  2.   

    检查php版本的问题,我以前碰到过这种情况了,换了一个版本就好了祝你好运!
      

  3.   

    有的时候IE6会出问题,把代码的BOM删掉就好了
      

  4.   

    我遇到过,你的title是双字节的吧,将<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />放在title的前面就ok了,
    详细请看:http://yskin.net/2006/08/ie-utf-8-bug.html