Skip to content Skip to sidebar Skip to footer

Why "'" Is Not Getting Converted To Single Quotes While Using Server.htmldecode()?

why ''' is not getting converted to single quotes while using server.htmldecode()? What is the best way to do the decoding while using ''''?

Solution 1:

This was not supported prior to .NET 4, but you could use this workaround:

http://forums.asp.net/p/1598280/4058759.aspx

The newer version:

http://weblogs.asp.net/vikram/archive/2010/02/18/htmlencode-and-urlencode-now-encode-single-quotation-marks.aspx

Post a Comment for "Why "'" Is Not Getting Converted To Single Quotes While Using Server.htmldecode()?"