You can try the "minted" package, which is compatible with XeLaTeX but requires an external Python script to do the actual formatting. If you are working in Windows it may require some effort to make it work.
Nikos Platis On Tue, Jun 1, 2010 at 00:17, Eelis van der Weegen <ee...@eelis.net> wrote: > On 2010-05-30 22:30, Alan Munn wrote: >> This is a problem with the listings package, which is incompatible with >> UTF-8 encoded files. >> >> I don't think there's a solution. > > On 2010-05-30 22:54, Philipp Stephani wrote: >> The listings package hasn't been updated for a long time and is > completely Unicode-unaware. > > Ok, I see. That's a shame. :-( > > Thank you both for your quick answers. > > > > > -------------------------------------------------- > Subscriptions, Archive, and List information, etc.: > http://tug.org/mailman/listinfo/xetex > -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex