我无法解码以下HTM15代码10:00 AM
在我的c#代码中,使用HttpUtility.HtmlDecode("10:00 AM");
后,我得到相同的输出,而不是seried输出“10:00 AM”。解码HTML 5字符集
然而当我使用其他HTML字符集像&
或>
然后HttpUtility.HtmlDecode
得到所需的输出,是有办法在c#解码HTML5字符集
我还试图与System.Net.WebUtility.HtmlDecode
,System.Uri.UnescapeDataString
但相同的输出
也许这悬而未决的问题是关系到你的问题:https://github.com/dotnet/corefx/issues/13036? –