asp.net读取asp的cookies乱码问题

System.Text.Encoding enc = System.Text.Encoding.GetEncoding("gb2312"); string cookie = Request.Cookies["YourCookieName"].Value; string cookieValue = HttpUtility.UrlDecode( cookie,enc);

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