l.f.hwang wrote: > as discussed above, it seems to be the latex package lstlisting handle > utf8-enocoded text well. as I using Xetex now so it possible Xetex has > some effort for it,but I have the time to research it.
Unfortunately not. Listings cannot handle multibyte characters yet. Maybe XeTeX has some extra code to deal with that, but with LaTeX, the latin1 encapsulation is needed. We might bypass the encapsulation in XeTeX mode, though. Jürgen
