I'm trying to make a URL with a tilde character (~) in it:
\usepackage{url}
...
\url{http://lyle.smu.edu/~tspell/jaws}
It looks right in the resulting PDF, but when clicking on it the browser goes to a wrong URL: http://lyle.smu.edu/%18tspell/jaws
If I type in the browser %7e (escape code for '~') instead of %18 the browser then goes to the correct URL.
Any idea how to get a correct link in the PDF?