asp中提交get请求时,假如参数值有中文,如何转码,不显示中文
来源:百度知道 编辑:UC知道 时间:2024/06/25 11:14:01
我是用js的window.location.href=''来提交请求的,希望高手能用代码给我指点一下!!!
onclick="window.location.href='xxx.asp?xx=<%=Server.URLEncode("我日你哥")%>'"
不用GET,用POST,参数有中文,可以用隐藏值 传递
window.location.href='xxx.asp?ss='+escape("来提交请求的")