Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

special character "&" and " ' " in request.querystring URL

10 views
Skip to first unread message

magix

unread,
Feb 17, 2008, 3:08:44 AM2/17/08
to
Hi all,


how can I pass the special characters as request.querystring value ?
example like "&", since & is used in request.querystring for various
parameters value

It will be cut off until "pass" in text 1, for example

let say:
text1 = "I want to pass & chacater"

test.asp?Text1=<%=text1%>

should I use Server.URLEncode ? But Server.URLEncode doesn;t seems to
work either.
I read some ppl suggested using replace method to replace "&" with
normal letters, and at receiving, replace back with "&", but is there
a better one ?

Special characters like ' ' and & are having problem in
request.querystring URL

Any suggestions or workaround ?

Thanks.

cheers,
Magix

0 new messages