mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Set encoding correctly when reading layout files
Patch from Enrico.
This commit is contained in:
parent
20696ecb7e
commit
e19b2a717e
@ -1374,7 +1374,7 @@ def checkLatexConfig(check_config, bool_docbook):
|
||||
if nodeclaration:
|
||||
continue
|
||||
testclasses.sort()
|
||||
cl = open('chklayouts.tex', 'w')
|
||||
cl = io.open('chklayouts.tex', 'w', encoding=enco)
|
||||
for line in testclasses:
|
||||
cl.write(line + '\n')
|
||||
cl.close()
|
||||
|
Loading…
Reference in New Issue
Block a user