JAVASCRIPT用Url传递参数出现中文乱码的解决方法
2010-04-07 18:51
761 查看
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();
<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传递参数出现中文乱码的解决方法
- 备忘录:javascript通过url向jsp页面传递中文参数乱码解决方法
- javascript通过url向jsp页面传递中文参数乱码解决方法
- javascript通过url向jsp页面传递中文参数乱码解决方法
- javascript通过url向jsp页面传递中文参数乱码解决方法(两次编码,一次解码)
- javascript通过url向jsp页面传递中文参数乱码解决方法
- javascript通过url向jsp页面传递中文参数乱码解决方法
- javascript通过url向jsp页面传递中文参数乱码解决方法
- javascript通过url向jsp页面传递中文参数乱码解决方法
- Spring MVC url 参数传递出现中文乱码解决方法
- JSP页面通过URL传递中文参数出现中文乱码的解决方法
- 备忘录:javascript通过url向jsp页面传递中文参数乱码解决方法
- javascript通过url向jsp页面传递中文参数乱码解决方法
- javascript通过url向jsp页面传递中文参数乱码解决方法
- 解决get方法传递URL参数中文乱码问题
- JSP页面中超链接传递中文参数出现乱码问题解决方法
- js获取url中的中文参数出现乱码解决方法
- AJAX利用javascript向后台传递中文字符出现乱码解决方法。
- js传递中文参数的url到asp(jscript)解释得到的中文参数为乱码的解决方法
- 解决get方法传递URL参数中文乱码问题