mirror of https://github.com/Syncplay/syncplay
Make NSIS printing Unicode
This commit is contained in:
parent
4d4d51f20d
commit
f6742e8638
|
@ -566,7 +566,7 @@ class NSISScript(object):
|
|||
installFiles=installFiles,
|
||||
totalSize=totalSize,
|
||||
)
|
||||
print(contents)
|
||||
print(contents.encode('utf-8'))
|
||||
with codecs.open(SETUP_SCRIPT_PATH, "w", "utf-8-sig") as outfile:
|
||||
outfile.write(contents)
|
||||
|
||||
|
|
Loading…
Reference in New Issue