我無法解碼以下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? –