C# – System.Web.HttpUtility.HtmlDecode not working for test %3cstrong%3ebold %3c/strong%3etest

c++

System.Web.HttpUtility.HtmlDecode not working for test %3cstrong%3ebold %3c/strong%3etest

Output should be <strong>bold </strong>test

Best Solution

I believe you want HttpUtility.UrlDecode in this case.

HtmlDecode is for things like &lt;strong&gt;