jvascript提交
window.open('xxx.aspx?parm=上海电45','','.....');xxx.aspx.cs :
parm=Request.QueryString("parm")结果parm为: 上海?5即出现乱码.如果提交的只为汉字则正常,汉字+字符正常,汉字+数字就为乱码了.

解决方案 »

  1.   

    使用server.urlencode()和server.urldecode()编码和解码
      

  2.   

    web.config  
    <globalization requestEncoding="gb2312" responseEncoding="gb2312" />
      

  3.   

    中文需要server.urlencode(“”)编码的使用的时候server.urldecode()解码就行了
      

  4.   

    使用server.urlencode()和server.urldecode()编码和解码
    楼上的方法行
      

  5.   

    http://msdn.microsoft.com/library/CHS/cpref/html/frlrfsystemwebhttpserverutilityclassurlencodetopic1.asp