mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
fix to output unicode
This commit is contained in:
parent
75a805634f
commit
69aa57d951
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ def modFile( path, stringNames, inPlace ):
|
|||
child.text = None
|
||||
out = sys.stdout
|
||||
if inPlace: out = open(path, 'w')
|
||||
doc.write( out, pretty_print=True )
|
||||
doc.write( out, pretty_print=True, encoding="UTF-8", xml_declaration=True )
|
||||
|
||||
def main():
|
||||
stringFiles = []
|
||||
|
|
Loading…
Add table
Reference in a new issue