Skip to content

PM Skills Marketplace: 100+ agentic skills, commands, and plugins — from discovery to strategy, execution, launch, and growth.

Fix UnicodeEncodeError on Windows in validate_plugins.py

Admin714495230638
diff --git a/validate_plugins.py b/validate_plugins.py
index ff0d0f5..ee54d35 100644
--- a/validate_plugins.py
+++ b/validate_plugins.py
@@ -463,6 +463,11 @@ def print_report(all_results: list[dict]):
def main():
"""Find and validate all plugins in the collection."""
+ # Ensure UTF-8 output on Windows
+ if sys.platform == 'win32':
+ import io
+ sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')
+
# Determine base path
if len(sys.argv) > 1:
base_path = sys.argv[1]