mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-23 10:11:52 +03:00
Explicitly set utf-8 for stdin/out/err.
This commit is contained in:
parent
ab6f6acfaf
commit
0b137c5f62
@ -32,4 +32,8 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
run_rpc_socket(sock)
|
run_rpc_socket(sock)
|
||||||
else:
|
else:
|
||||||
|
sys.stdin.reconfigure(encoding="utf-8")
|
||||||
|
sys.stdout.reconfigure(encoding="utf-8")
|
||||||
|
sys.stderr.reconfigure(encoding="utf-8")
|
||||||
|
|
||||||
run_rpc_pipes(sys.stdout, sys.stdin)
|
run_rpc_pipes(sys.stdout, sys.stdin)
|
||||||
|
Loading…
Reference in New Issue
Block a user