本帖最后由 reallylovesky 于 2011-02-11 12:29:09 编辑

解决方案 »

  1.   

     string strLC_REMARK = Server.UrlEncode(Request["LC_REMARK"]);
      

  2.   

    string strLC_REMARK = Server.UrlDecode(Request["LC_REMARK"]);
      

  3.   

    在 HttpUtility 的 UrlEncode 之后, 将 "+" 替换成 "%20", 如:  
    fileName = HttpUtility.UrlEncode(fileName, Encoding.UTF8);  
    fileName = fileName.Replace("+", "%20");  
     
     
      

  4.   

    var rs=window.showModalDialog("../AA.aspx?LC_REMARK="+encodeURIComponent(strLC_REMARK),"newwindow",strFeatures);
      

  5.   

    客户端的变量只能用客户端的javascript处理