Skip to content
This repository was archived by the owner on May 2, 2026. It is now read-only.

Commit 04ae196

Browse files
committed
fix(cli): remove stdout and stderr reconfiguration for UTF-8 encoding on Windows
1 parent fe92ff8 commit 04ae196

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

viu_media/cli/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44

55
if sys.platform.startswith("win"):
66
os.environ.setdefault("PYTHONUTF8", "1")
7-
try:
8-
sys.stdout.reconfigure(encoding="utf-8")
9-
sys.stderr.reconfigure(encoding="utf-8")
10-
except Exception:
11-
pass
7+
128

139
__all__ = ["run_cli"]

0 commit comments

Comments
 (0)