Special characters in the URL in a hyperref href generates a wrong URL
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\href{https://www.målogmæle.dk/MoM-arkiv/MoM_36/MoM36_3.pdf}{En hvislen i bækken}
\end{document}
The link I am getting is:
https://www.m\unhbox \voidb@x \bgroup \let \unhbox \voidb@x \setbox \@tempboxa \hbox {a\global \mathchardef \accent@spacefactor \spacefactor }\let \begingroup \endgroup \relax \let \ignorespaces \relax \accent 23 a\egroup \spacefactor \accent@spacefactor logm\OT1\ae le.dk/MoM-arkiv/MoM_36/MoM36_3.pdf
The link is actually coming from a Bibtex file, but I suppose that is not the actual problem. The bibtex file is:
@Article{Q87401587,
author = {Sune Gregersen},
title = {En hvislen i bækken},
journal = {Mål \& mæle},
year = {2014},
pages = {5-8},
URL = {https://www.målogmæle.dk/MoM-arkiv/MoM\_36/MoM36\_3.pdf},
wikidata = {Q87401587}
}
The latex file that is using the file is:
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\cite{Q87401587}
\bibliographystyle{acl_natbib}
\bibliography{tmp}
\end{document}
Running Bibtex yields this .bbl file:
\begin{thebibliography}{}
\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi
\bibitem[{Gregersen(2014)}]{Q87401587}
Sune Gregersen. 2014.
\newblock \href{https://www.målogmæle.dk/MoM-arkiv/MoM_36/MoM36_3.pdf}{En
hvislen i bækken}.
\newblock {\em Mål & mæle/} pages 5--8.
\end{thebibliography}
Is there a way to fix this?
