This question already has an answer here:

I want to have a link on the pdf output of tex file such that when someone copies that and pastes it on a browser (and not by clicking on it), it works. My link has "~", so when I copy it, either nothing is instead of "~" or a wrong character is there. Hence, it doesn't work.

Any idea?

marked as duplicate by Mensch, cfr, Henri Menke, Troy, Zarko Sep 23 '17 at 3:21

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    Check this answer: tex.stackexchange.com/a/207641/120578 I think this answer makes your question a duplicate because there is an answer about this... But it is not a real question about this. So your question is a "usefull duplicate" that has to link to the answer and not to the question... – koleygr Sep 22 '17 at 23:30
  • @koleygr yes, the solution there works. Thanks – m0_as Sep 22 '17 at 23:32
  • @m0_as try using \usepackage[utf8]{inputenc} and \usepackage[T1]{fontenc} – Daniel Valencia C. Sep 22 '17 at 23:53

Browse other questions tagged or ask your own question.