WebClient.DownloadString 没有 return 更正 unicode 字符,尽管它的编码设置为 UTF8

WebClient.DownloadString doesn't return correct unicode charactes altough its encoding is set to UTF8

WebClient wc = new WebClient();
wc.Encoding= System.Text.Encoding.UTF8;
wc.DownloadStringAsync(new Uri("http://example.com/test.html"));

我做错了什么?

试试这个?

wc.Headers.Add(HttpRequestHeader.AcceptCharset, "UTF-8");