I'm trying to include a title in the url of a link that contains an ampersand. For example, the link would look like:
& blah/blah.html
I'm using rawurlencode on the "blah & blah" part to make the link safe, but when I click on the link, it tries to load the page:
It is cutting off everything after the ampersand. What's the best way to translate the ampersand so that it works?
Thanks,
-Jeff
& blah/blah.html
I'm using rawurlencode on the "blah & blah" part to make the link safe, but when I click on the link, it tries to load the page:
It is cutting off everything after the ampersand. What's the best way to translate the ampersand so that it works?
Thanks,
-Jeff