El 05.04.2017 a las 22:08, Enrico Forestieri escribió:
Most probably you have some non-ascii characters in a \DeclareLaTeXClass line in some of your layout files. Now those files are explicitly read as utf-8 encoded. If this is so, the attached patch should help.
Yes. This is necessary. Moreover all open() commands must replaced by io.open() to assure that we use the right encoding.
However, I am not very familiar with Python. I only acted because after José's commits I could no longer even start LyX.
Another consequence of the recent changes is that if someone has old layouts containing latin1 characters then configure will now misteriously fail.
I thought layout2layout takes care of this. If not, then this is necessary to add this feature for LyX 2.3.
regards Uwe