[OS X TeX] listings.sty and utf8

Alain Matthes alain.matthes at mac.com
Wed Apr 19 17:04:08 CEST 2006


Hello

is it possible to use the package listings with a file with utf8  
encoding ?

ECM

\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{fourier}
\usepackage{listings}
\lstset{%
language=[AlLaTeX]TEX,%
extendedchars=true,%
}
\begin{document}

\begin{lstlisting}
Justifiez votre rŽponse.
\end{lstlisting}

\end{document}

the file is saved with utf8 !

error : ! Package inputenc Error: Unicode char
\u8:Ã\expandafter not set up for use with LaTeX.


------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list