我试过:
string decodedHtml = HttpUtility.HtmlDecode(html);
其中html是经过编码的html.这似乎根本不会改变字符串.html仍然是编码的.
我试过:
string decodedHtml = HttpUtility.HtmlDecode(html);
其中html是经过编码的html.这似乎根本不会改变字符串.html仍然是编码的.
string s = System.Uri.UnescapeDataString(html);