摘要:
1 Encoding gb2312 = Encoding.GetEncoding("gb2312"); 2 Encoding utf8 = Encoding.UTF8; 3 //首先用utf-8进行解码 4 string key = HttpUtility.UrlDecode(oStr, utf8) 阅读全文
posted @ 2022-04-21 13:38
學海無邊
阅读(1142)
评论(0)
推荐(0)
摘要:
1 public static string GetCookie(string requestUrlString, Encoding encoding, ref CookieContainer cookie) 2 { 3 //向服务端请求 4 HttpWebRequest myRequest = ( 阅读全文
posted @ 2022-04-21 10:43
學海無邊
阅读(203)
评论(0)
推荐(0)

浙公网安备 33010602011771号