# xelatex, polyglossia, hyperref

Using the following code with the packages hyperref and polyglossia to insert a link into a xelatex document, the link is not clickable, while in other applications as for example the email program it does work. Does anyone know how to solve this problem?

\documentclass[twoside,11pt,a4paper]{article}

\usepackage[xetex]{hyperref}

\usepackage{polyglossia}
\setmainlanguage[spelling=old,babelshorthands=true]{german}
\setmainfont[Mapping=textext,Renderer=ICU]{Charis SIL}

\newfontfamily\germanfont[Mapping=textext,Renderer=ICU]{Charis SIL}

\begin{document}

\end{document}

• I can't reproduce the problem, when I compile your code I get a pdf with clickable links. Maybe your pdf viewer does not support links at all? Which viewer do you use? – Marijn May 4 at 19:23

Url must be percent encoded in a pdf. So you will have to input it like this

\href{https://hikma-online.com/wp-content/uploads/2019/05/%C3%9Cbersetzung-Bakker.pdf}


With the new pdfmanagement, which is currently in a testphase, you can also use the urlencode option, it will then create the percent encoding internally:

\RequirePackage{pdfmanagement-testphase}
\documentclass{article}
\usepackage{hyperref}
\begin{document}