asp.net url带中文参数显示乱码的问题

using System.Collections.Specialized;
using System.Text;

  NameValueCollection gb2312Requests = HttpUtility.ParseQueryString(Request.Url.Query, Encoding.GetEncoding("gb2312"));
  Response.Write(gb2312Requests["Key"]);

你可能感兴趣的:(asp.net)