hi all!

I'm a editor of press of mainland of China. When editing a book relates
computer program language(ie,JAVA/++/XML) I found it's very hard to
insert Chinese character(or other utf8 encoded) to lstlisting( or even
lstlistingutf8) environment.

when I do so,It always pop a dialog and warming me:
"The following characters in one of the program listings are

not representable in the current encoding and have been omitted:

XXXXXXX."


of which XXXXXX is some utf8 encoded characters.


if I export it to tex format,the utf8 encoded characters are missing, I
guess Lyx just omitted it. That 's too bad for me, I can't even export
it correctly!


somebody can help me how to solve this problem? any help will be greatly
appreciated.


My configuration:
Lyx:1.6.5
Ubuntu 10.04

texlive-Xetex 2009-07
Latex encode:T1
File encode: utf8




feige
2010/06/08

Reply via email to