Skip to content

Fix(skill-creator): specify utf-8 encoding when reading SKILL.md#284

Open
drfccv wants to merge 1 commit intoanthropics:mainfrom
drfccv:fix/creator-validate-encoding
Open

Fix(skill-creator): specify utf-8 encoding when reading SKILL.md#284
drfccv wants to merge 1 commit intoanthropics:mainfrom
drfccv:fix/creator-validate-encoding

Conversation

@drfccv
Copy link
Copy Markdown

@drfccv drfccv commented Jan 26, 2026

Explicitly specifying utf-8 encoding when reading SKILL.md ensures consistent behavior across different operating systems and environments. It prevents potential UnicodeDecodeError exceptions that may occur if the system default encoding is not utf-8, especially on Windows. This change improves the script's robustness and compatibility when handling non-ASCII characters in SKILL.md files.
image

@drfccv drfccv force-pushed the fix/creator-validate-encoding branch from 501e3ec to a9848be Compare January 26, 2026 08:22
@pperez
Copy link
Copy Markdown

pperez commented Jan 30, 2026

i saw some other issues related to encoding on windows, init_skill.py, same thing in the package_skill.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants