How to represent # in hyperlink URLs
I have a series of URLs that I want to use in hyperlinks, that all have a hash character in them. The hash character is necessary to load the page properly.
However, when I enter the URL "as is", the hash becomes %23 in the address bar, and the page does not display correctly.
The only method that works so far, is to replace the "#" with "&hash;". This works, but leaves "&hash;" in the url, unchanged. It also means I have to massage every URL.
That's not really a problem for my current purposes, but am wondering of there is a way to end up with just # as the final representation in the address bar of the browser.
What I've tried so far (in the hyperlink url):
Fails:
#
%23
char(35)
OK:
# (becomes &%2335;)
&hash;
Any ideas? :-)
MacBook Pro, Mac OS X (10.7.5)