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

c#

Solution

I believe you want `HttpUtility.UrlDecode` in this case.

`HtmlDecode` is for things like `<strong>`

Problem

System.Web.HttpUtility.HtmlDecode not working for `test %3cstrong%3ebold %3c/strong%3etest` Output should be `<strong>bold </strong>test`

Original source