10000 Fix unicode error on gh:windows-latest · hugovk/python-docs-bootstrapper@1cba4ea · GitHub
[go: up one dir, main page]

Skip to content

Commit 1cba4ea

Browse files
committed
Fix unicode error on gh:windows-latest
1 parent 8d10942 commit 1cba4ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bootstrapper/bootstrapper.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ def run(self) -> None:
206206

207207

208208
def main() -> None:
209+
sys.stdin.reconfigure(encoding="utf-8")
210+
sys.stdout.reconfigure(encoding="utf-8")
209211
parser = ArgumentParser()
210212
parser.add_argument(
211213
"language",

0 commit comments

Comments
 (0)
0