apache里配置文件里面有一项 DefaultChart(好像是这个单词) 修改一下就可以了。

解决方案 »

  1.   

    传前urlencode()一下
    接后urldecode()一下
      

  2.   

    是字符编码问题
    在httpd.conf中,找到这一行:
    AddDefaultCharset
    你把服务器上的改成和你一样的配置就好了。
    最好的办法是把这行注释掉。
    在写程序时,要在页面中加上设定编码行:
    <meta http-equiv="content-type" content="text/html;charset=gb2312">
    注:gb2312可改为你想要的字符编码,或utf-8等等
      

  3.   

    <?php
    header("Content-Type: text/html; charset=gb2312");
    $keyword=$_get['keyword'];
    print $keyword;
    ?>
    设置一下header
      

  4.   

    fds&amp;lt;/TEXTAREA&amp;gt;ks