Skip to content

Commit eef431b

Browse files
Set UTF-8 output
1 parent 107be16 commit eef431b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

setup/verify_local_setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,13 @@
1515
import sys
1616
import subprocess
1717
import os
18+
import io
1819
from pathlib import Path
1920

21+
# Configure UTF-8 encoding for console output
22+
if sys.stdout.encoding != 'utf-8':
23+
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
24+
2025

2126
def print_status(message, success=True):
2227
"""Print status message with colored output."""

0 commit comments

Comments
 (0)