I'm getting unicode errors when using currency symbols in a listing environment.
I tried to add \usepackage{textcomp}
but then I'm getting other (bibtex) errors. So maybe there is a cleaner option?
\documentclass[a4paper,12pt,parskip=half]{report}
\usepackage[utf8]{inputenc}
\usepackage{listings}
\begin{document}
\begin{lstlisting}[language=Python, caption=Example, label=lst:example]
currencies = ["£","€","$","¥","¢","₩","§"]
\end{lstlisting}
\end{document}
lualatex
instead ofpdflatex
for UTF-8 listings).