How can I decode a URL escape string in C#? [duplicate]

早过忘川 提交于 2019-12-12 11:26:31

问题


Possible Duplicate:
how to decode url param with c#

I want to change all those %20 ect. to spaces ect.


回答1:


HttpUtility.UrlDecode(String) and HttpUtility.UrlEncodeUnicode(String)




回答2:


Use

Server.UrlDecode(string);


来源:https://stackoverflow.com/questions/3792458/how-can-i-decode-a-url-escape-string-in-c

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