JAVASCRIPT用Url传递参数出现中文乱码的解决方法

JS:

< iframe  id ="iFrameTask"  src ="property/setdecistion.aspx?des='+ escape(ufrom) +'"  width ="100%"  height ="100%"  style ="margin:0" ></ iframe >

apsx CS:
             string  strDes  =  Request[ " des " ].ToString();                        
            strDes 
=  Server.UrlDecode(strDes);

后记:
CS:UrlEncode(),HtmlEnCode()
JS:escape();unescape();

你可能感兴趣的:(JavaScript,url)