Skip to content

Commit 063c50c

Browse files
committed
Write unicode output for errors
1 parent 46ab8bd commit 063c50c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_validate/validate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def outputErrors(addonFileName: str, errors: List[str], errorFilePath: Optional[
369369
if len(errors) > 0:
370370
print("\r\n".join(errors))
371371
if errorFilePath:
372-
with open(errorFilePath, "a") as errorFile:
372+
with open(errorFilePath, "a", encoding="utf-8") as errorFile:
373373
errorFile.write(f"Validation Errors for {addonFileName}:\n- " + "\n- ".join(errors) + "\n\n")
374374

375375

0 commit comments

Comments
 (0)