|
-
Dec 22nd, 2005, 02:22 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] Apostrophe in URL parameter
Hi,
How can I pass an apostrophe in a URL that I want to use in another page? For example, the following causes an error when I try to load a new page:
VB Code:
www.whaterverpage.aspx?LastName=O'Hara
It seems that there should be encoding for the apostrophe (') but I can't figure out what it is.
-
Dec 22nd, 2005, 02:30 PM
#2
Re: Apostrophe in URL parameter
the same way you pass spaces with %20, try %60
-
Dec 22nd, 2005, 02:33 PM
#3
Thread Starter
Fanatic Member
sevenhalo ...
Thanks, but that looks like a strange apostrophe on the other side .... whereas a space appears as a "normal" space after the encoding. Anyone else have an idea how to do this?
-
Dec 22nd, 2005, 02:35 PM
#4
Re: Apostrophe in URL parameter
%27, sorry. I was using that one with the ~ above it 
Edit: AKA the accent, but I don't know these things.
Last edited by sevenhalo; Dec 22nd, 2005 at 02:41 PM.
-
Dec 22nd, 2005, 02:38 PM
#5
Thread Starter
Fanatic Member
sevenhalo ....
Perfect!
Thanks!
OneSource
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|