4

Possible Duplicate:
how to decode url param with c#

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

Community
  • 1
  • 1
liamzebedee
  • 14,010
  • 21
  • 72
  • 118

2 Answers2

17

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

tidwall
  • 6,881
  • 2
  • 36
  • 47
3

Use

Server.UrlDecode(string);
Vinay B R
  • 8,089
  • 2
  • 30
  • 45