when i try to write accentuated characters (éà...) in a lstlisting environment,
hence :
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{xcolor}
\usepackage{listings}
\lstset{
language=bash,
extendedchars=\true,
inputencoding=utf8,
classoffset=0,
keywords={arg1},
keywordstyle=\color{red}\bfseries,
classoffset=1,
keywords={arg2},
keywordstyle=\color{blue}\bfseries,
frame=boxshadow
}
\begin{document}
\begin{lstlisting}[title={syntaxe}]
$ ln -s arg1 arg2
arg1 : chemin (relatif ou absolu) du répertoire ou du fichier pointé
arg2 : chemin (relatif ou absolu) du lien à créer
\end{lstlisting}
\end{document}
here's what i get :
note : it seems like the accentuated letters are placed before the non-accentuated ones.
My document uses UTF-8 encoding (from texworks settings)
I've tried to setup lstset setting extendedchars to \true and inputencoding to utf8. But this doesn't seem to apply any effects to the current code..

àseems correct. Does the problem appear with any other character thané? – T. Verron Feb 21 '13 at 09:42