Skip to content

Commit f844541

Browse files
committed
Make sure NSIS script is UTF-8.
1 parent 8499063 commit f844541

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

syrup/functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def compileNSISTemplate(build_dir, artifact_dir, executables, **kwargs):
272272
template_variables.update(kwargs)
273273

274274
nsis_script = os.path.join(build_dir, "generic.nsi")
275-
with open(nsis_script, "w") as fh: # TODO: Temp file name.
275+
with open(nsis_script, "w", encoding="UTF-8") as fh: # TODO: Temp file name.
276276
template.stream(**template_variables).dump(fh)
277277
return nsis_script
278278

0 commit comments

Comments
 (0)