Skip to content

Commit 934a8fb

Browse files
Made output use correct encoding
1 parent fb68fa4 commit 934a8fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpystubgen/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def generate(self, dest_dir: Path, writer: Writer) -> Optional[Path]:
205205
with open(marker, "w"):
206206
pass
207207

208-
fout = FileOutput(destination_path=str(target))
208+
fout = FileOutput(destination_path=str(target), encoding="utf-8")
209209

210210
try:
211211
writer.write(self.doctree, fout)

0 commit comments

Comments
 (0)