C# Request.Querystring中文乱码问题解决

Request.Querystring 获取数据会优先解码,编码不一样会导致乱码

System.Collections.Specialized.NameValueCollection nc = HttpUtility.ParseQueryString(Request.Url.Query, Encoding.GetEncoding("utf-8"));

posted on 2022-10-28 14:04  sjns  阅读(394)  评论(0编辑  收藏  举报

导航