On 2014-08-04, Stratos kovalkov Papadoudis wrote: > Modern source authoring supports non-ASCII text, appearing in source > comments and/or output text.
... > Is there a really serious limitation that prevents lyx from outputting > program listings in UTF-8? If there is real none, is there room to > implement this enhancement in the near future? The limitation is in the "listings" package http://www.ctan.org/pkg/listings which is not 8-bit-clean. This is outside the scope of LyX development. As this is a really complex package, there is no easy fix -- if you (or some other) would volunteer to "upgrade" the listings package to full Unicode support, this would be welcomed not only by LyX users but the whole LaTeX community. As a workaround: If you are prepared to sacrifice syntax highlighting, you could use the LyXCode style or Insert>File>sub-document>unformatted for progam insets. With Xe/LuaTeX, this should give you the chance to use non-ASCII characters (of course, the font(s) must support them, with Xe/LuaTeX, you don't get errors for missing characters, check the output). Günter