why “'” is not getting converted to single quotes while using server.htmldecode()?

本秂侑毒 提交于 2019-12-11 12:29:29

问题


why ''' is not getting converted to single quotes while using server.htmldecode()?

What is the best way to do the decoding while using '"'"?


回答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



来源:https://stackoverflow.com/questions/4476638/why-39-is-not-getting-converted-to-single-quotes-while-using-server-htmldec

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!