Decode HTML 5 Character set

Viewed 316

I am unable to decode the following HTMl 5 code 10:00 AM in my c# code, after using HttpUtility.HtmlDecode("10:00 AM"); i get the same Output instead of seried output "10:00 AM".

However when i use other HTML character sets like & or > then HttpUtility.HtmlDecode gives the desired output, is there a way to decode HTML5 character sets in c#

I have also tried with System.Net.WebUtility.HtmlDecode, System.Uri.UnescapeDataString yet the same output

2 Answers
Related