The listingsutf8 package
Heiko Oberdiek · 2012
Package listings does not support files with multi-byte encodings such as UTF-8. In case of \lstinputlisting a simple workaround is possible if an one-byte encoding exists that the file can be converted to. Also 𭜀-TEX and pdfTEX regardless of its mode are required.