> \begingroup
> \inputencoding{latin1}
> \begin{lstlisting}[caption={\inputencoding{latin1}ddd\selectlanguage{english}
> }]
> ddd
> \end{lstlisting}
> \endgroup

I notice that \selectlanguage{english} does not matter (though
ugly),and \inputencoding{latin1} is causing the problem. I do not know
where this command come from. The \begingroup and \inputencoding thing
only happens during listings latex output.

Bo

Reply via email to