Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
Hyperref: Scandinavian characters (æø) don't work in \url, hyperlink is wrong

Consider the following example:







When not using hyperref the result comes out as expected. Adding hyperref gives me something similar toÅben_m\T1\aengde 

anyone have any idea how to fix this? There is nothing wrong with the URL.

share|improve this question

marked as duplicate by diabonas, doncherry, topskip, Torbjørn T., Loop Space Oct 31 '11 at 11:29

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.

Slightly off-topic perhaps there is something wrong with the url. According to the RFC for URL only a-zA-Z0-9 and some special characters $,-,_,.,+,!,*,',(,),"," where the "," represents a ,. Other characters can be encoded using % hex hex where hex follows 0-9[A-F|a-f]. Apparently this RFC is no longer used? – Roelof Spijker Oct 31 '11 at 10:25
As far as I know, the use of national chars in URLs have been allowed for some time. – daleif Oct 31 '11 at 10:47
This example works out of box in XeLaTeX. – Andrey Vihrov Oct 31 '11 at 10:51
Use \href{}{http://da.wikipedia.o‌​rg/wiki/Åben_mængde} instead. You have to encode the URL, for example using the W3 URL encoder. – matth Nov 10 '11 at 15:49

1 Answer 1

One of your links works (pdftex, miktex 2.9) with this:

\href{\string Åben_m\string ængde}{Åben\string_mængde}

But it is not very reliable. It fails (understandably) if I copy the code to an utf8 file. Also I don't know how much "intelligence" the pdf-reader has to invest to translate the link correctly in the whatever-it-is-called international notation. I think you should retry to get Heikos attention, probably he simply overlooked your question a c.t.t.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.