listingsutf8 – Allow UTF-8 in listings input
Package listings does not support files with multi-byte encodings such as UTF-8. In the case of \lstinputlisting, a simple workaround is possible if a one-byte encoding exists that the file can be converted to. The package requires the e-TeX extensions under pdfTeX (in either PDF or DVI output mode).
The package is part of the oberdiek bundle.
|License||The LaTeX Project Public License 1.3|
|Contained in||TeX Live as oberdiek|
|MiKTeX as oberdiek|
computer code listing|
highlight syntax of computer code, etc.
adaptation of existing packages to UTF-8 input
Maybe you are interested in the following packages as well.
- pygmentex: Use Pygments to format code listings in documents
- shdoc: Float environment to document the shell commands of a terminal session
- attachfile2: Attach files into PDF
- soulutf8: Permit use of UTF-8 characters in soul