I am trying to write an URL using breakurl, that includes an accented character. I am trying to use pdflatex with utf8 inputenc (also tried utf8x). But I can't get a decent result.
My best result is presented by this minimal working example:
\documentclass{article}
\usepackage[utf8x]{inputenc}
\usepackage{hyperref}
\usepackage{url}
\begin{document}
\url{\detokenize{http://coração.net}}
\end{document}
The link is created correctly, but the text shown in the PDF is not the correct one (misses the non ascii characters).
Suggestions are welcome.
\detokenize
will completely break pdflatex's handling of utf-8.url
if you loadhyperref
.\href{\detokenize{http://coração.net}}{\texttt{http://coração.net}}