fix to output unicode

This commit is contained in:
Eric House 2015-03-19 06:58:28 -07:00
parent 75a805634f
commit 69aa57d951

View file

@ -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 = []