> Therefore I propose the following patch if it works for you. It does not work. I still get for my listings inset.
\begingroup \inputencoding{latin1} \begin{lstlisting}[caption={\inputencoding{latin1}ddd\selectlanguage{english} }] ddd \end{lstlisting} \endgroup > PS: BTW, is it really necessary to firce the encoding to latin1 before > lstlisting? This is weird... I do not know. Herbert suggested so and I did not find any example that listings does not work without it. Bo