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
  • 13,236
  • 20
  • 68
  • 114

2 Answers2

17

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

tidwall
  • 6,667
  • 1
  • 34
  • 45
3

Use

Server.UrlDecode(string);
Vinay B R
  • 7,635
  • 2
  • 27
  • 45