Decoding url

  • Thread starter Thread starter HP
  • Start date Start date
H

HP

hi
In my search page, search terms follow by the ? mark. but the problem is
that the term is encoded in the following format:
http://domain/search.aspx?بهداشت
how can I convert it to original characters so that I be able to process it?

my page character set is utf-8.
thanks a lot
 
I'm useless without VS.NET and Ctrl+J at my fingertips; it's either...

Server.DecodeUrl ( your url )

or

Server.UrlDecode ( your url )
 
Back
Top