Alternative to System.Web.HttpUtility.HtmlEncode/Decode?

Posted by Jörg Battermann on Stack Overflow See other posts from Stack Overflow or by Jörg Battermann
Published on 2010-05-06T08:28:16Z Indexed on 2010/05/06 8:38 UTC
Read the original article Hit count: 876

Filed under:
|
|

Is there any 'slimmer' alternative to the System.Web.HttpUtility.HtmlEncode/.Decode functions in .net 3.5 (sp1)? A separate library is fine.. or even 'wanted', at least something that does not pull in a 'whole new world' of dependencies that System.Web requires.

I only want to convert a normal string into its xml/xhtml compliant equivalent (& back).

© Stack Overflow or respective owner

Related posts about .NET

Related posts about entities