asp.net request 传中文乱码
传递:
Response.Redirect("show.aspx?id="+ HttpUtility.UrlEncode("中国"));
接收:
String sGet = HttpUtility.UrlDecode(Request.QueryString["id"]);
Response.write(strGetString)
传递:
Response.Redirect("show.aspx?id="+ HttpUtility.UrlEncode("中国"));
接收:
String sGet = HttpUtility.UrlDecode(Request.QueryString["id"]);
Response.write(strGetString)
暂无评论。
评论功能维护中,当前仅展示历史评论。