We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 075a1cd + 3f639e9 commit 3a67285Copy full SHA for 3a67285
.github/scripts/verify-archive-size.py
@@ -1,5 +1,10 @@
1
import os
2
import sys
3
+import io
4
+
5
+# Ensure UTF-8 encoding for stdout on Windows to handle Unicode characters
6
+if sys.platform == 'win32':
7
+ sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
8
9
10
def verify_archive_size(archive_path, min_size_mb=1):
0 commit comments