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-pygments
first. To compile, I usexelatex -shell-escape inputtest.tex
fontspec
which should be loaded by default of you use LuaLaTeX or XeLaTeX.fontspec
for the thing to work.