I want to print an URL with greek chars (compiling with XeLaTeX), but the below script fails to display the greek chars in the URL (they are displayed as underscores), while if I enclose the greek chars of URL in \textgreek I get an error.
\documentclass{book}
\usepackage{fontspec}
\setmainfont{Times New Roman}
\usepackage{polyglossia}
\setdefaultlanguage{english}
\setotherlanguage{greek}
%\newfontfamily\greekfont[Script=Greek, Scale=MatchUppercase, Ligatures=TeX]{Gentium Plus}
\newfontfamily\greekfont{CMU Serif}
\usepackage{hyperref,xurl}
\begin{document}
δημοτικο-κεντρο-εικαστικων
\textgreek{δημοτικο-κεντρο-εικαστικων}
\url{http://www.elemesos.com/index.php/municipalities/2018-12-20-10-21-59/item/14463-δημοτικο-κεντρο-εικαστικων-τεχνων-αποθηκεσ-παπαδακη-3-9-2014.html}
\end{document}
Greek chars outside \url are displayed correctly, either inside or outside \textgreek.
Am I doing something wrong?
P.S. I use package xurl because it breaks the links at every character.
