110,534
社区成员
发帖
与我相关
我的任务
分享
string url="http://www.google.com.hk/search?q=c";
string html="";
WebClient web = new WebClient();
web.Headers.Add(HttpRequestHeader.Referer, url);
html = web.DownloadString(url); //得到的响应数据里有乱码,原因是Transfer-Encoding:chunked,该如何解码?
web.Dispose();