Html Encoding and Decoding

by Damiaan Peeters 17. October 2009 16:27

If you want to be sure of reliable transmission over HTTP, it is advisable to HTMLEncode your text.  Another purpose to use HtmlEncoding, is to embed text in your XML files. 

You can use the HttpUtility class which i mentioned in this previous post: UrlEncode for a hyperlink without a HTTPContext

I used this time MSDN to find back the HtmlEncode method. You can find here: HttpUtility Members on MSDN


Certified Umbraco Master, Part of Umbraco Certified partner comm-it, .Net and Azure developer, seo lover. Magician in my spare time.

Month List