Html Encoding and Decoding

by 17. October 2009 17: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

Tags:

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen