C#, function to replace all html special characters with normal text characters

c#, html-entities

Solution

You want to use `HttpUtility.HtmlDecode`.:

Converts a string that has been HTML-encoded for HTTP transmission into a decoded string.

Problem

I have characters incoming from an xml template for example: ``` & > ``` Does a generic function exist in the framework to replace these with their normal equivalents?

Original source