AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He
fix(svg-position-calculator): standardize console encoding via configure_utf8_stdio
颀立 沈ef367784df13
diff --git a/skills/ppt-master/scripts/svg_position_calculator.py b/skills/ppt-master/scripts/svg_position_calculator.pyindex 391ca51b..4caacc89 100644--- a/skills/ppt-master/scripts/svg_position_calculator.py+++ b/skills/ppt-master/scripts/svg_position_calculator.py@@ -35,16 +35,9 @@ from pathlib import Pathfrom typing import Dict, List, Tuple, Optional, Anyfrom dataclasses import dataclass-# Fix garbled Chinese output on Windows-if sys.platform == 'win32':- try:- sys.stdout.reconfigure(encoding='utf-8')- sys.stderr.reconfigure(encoding='utf-8')- except AttributeError:- # Python < 3.7- import io- sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')- sys.stderr = io.TextIOWrapper(sys.stderr.buffer, encoding='utf-8')+from console_encoding import configure_utf8_stdio++configure_utf8_stdio()# Import canvas format configurationtry: