This is a follow-up question to UTF8 for listings
With these MWE I will not see the german umlauts in the resulted pdf (XeLaTeX was used):
\documentclass{article}
\usepackage{verbments}
\begin{document}
\begin{pyglist}[encoding=utf-8,language=text]
Test äöü Test
\end{pyglist}
\end{document}
What should I do to support UTF-8 in verbments?
python-pygmentsfirst. To compile, I usexelatex -shell-escape inputtest.tex– Micha Apr 22 '13 at 13:01listingsin general has problems with UTF-8 butverbmentswas introduced to support unicode. Thanks for providing the link, too. – Micha Apr 22 '13 at 13:59fontspecwhich should be loaded by default of you use LuaLaTeX or XeLaTeX. – Marco Daniel Apr 22 '13 at 19:55fontspecfor the thing to work. – egreg Apr 22 '13 at 20:36