Adobe Reader doesn't like a tilde (~) in hyperlink URLs

How can I include a tilde (~) in the URL for my hyperlink? Acrobat is fine, but Adobe reader improperly escapes it and it breaks the URL


Niel Henriksen


2 Answers

Voted Best Answer

You are correct, it's not working on Windows. I did my first test on a Mac, and it worked fine, the tilde got correctly encoded, and the browser was able to retrieve the correct page. On the Windows side that is different: Somehow Reader encodes the URL twice - in the first go around it gets rid of the tilde and in the second it replaces the percent sign of the already encoded value.

You found a bug in Reader. Congratulations! You should report the problem on Adobe's bug reporting web site:
https://www.adobe.com/cfusion/mmform/...


By Karl Heinz Kremer   

I don't think that Reader "improperly" escapes the tilde character - it is true, it gets escaped, but that's a perfectly valid operation, and your browser should be able to handle that. I just tested it, and I don't see any problems with the escaped tilde (it gets converted to %07E). It is actually recommended that a tilde character in a URL does get escaped: http://www.blooberry.com/indexdot/htm...

So, if you see a problem with an encoded tilde, it's not the encoding that is the problem, it's either your browser or your web server.


Karl Heinz Kremer   


Please specify a reason: