By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,725 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

Decoding url

P: n/a
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?%d8%a8%d9%...a7%d8%b4%d8%aa
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
Nov 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
I'm useless without VS.NET and Ctrl+J at my fingertips; it's either...

Server.DecodeUrl ( your url )

or

Server.UrlDecode ( your url )
"HP" <hp*****@yahoo.com> wrote in message
news:34*************@individual.net...
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?%d8%a8%d9%...a7%d8%b4%d8%aa
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

Nov 19 '05 #2

P: n/a
It's Server.UrlDecode (your URL)

http://msdn.microsoft.com/library/de...codeTopic1.asp

Its counterpart is Server.UrlEncode(your URL)
http://msdn.microsoft.com/library/de...codetopic1.asp


Juan T. Llibre
ASP.NET MVP
===========
"MWells" <outbound__at_sygnal.com> wrote in message
news:ef****************@TK2MSFTNGP12.phx.gbl...
I'm useless without VS.NET and Ctrl+J at my fingertips; it's either...

Server.DecodeUrl ( your url )

or

Server.UrlDecode ( your url )
"HP" <hp*****@yahoo.com> wrote in message
news:34*************@individual.net...
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?%d8%a8%d9%...a7%d8%b4%d8%aa
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


Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.