Write generate-cli output as UTF-8 - #5335
Merged
Merged
Conversation
Contributor
|
This pull request is awaiting maintainer assignment. Linked PRs stay open while maintainers triage the issue; this check remains failing until assignment. Per CONTRIBUTING.md, an external PR must reference an issue that's assigned to its author. To get there:
Once you're assigned and the link is present, this check is re-run automatically. Previously gate-closed PRs also reopen — no further action needed. Maintainers: reopen this PR or remove the |
asasemahmed
force-pushed
the
fix/generate-cli-utf8-output
branch
from
September 30, 2026 23:37
9d11e5c to
3be5f55
Compare
Co-authored-by: ch-z-hc <45302000+ch-z-hc@users.noreply.github.com>
jlowin
approved these changes
Oct 5, 2026
jlowin
left a comment
Member
There was a problem hiding this comment.
The UTF-8 output fix and locale-sensitive test readers are verified. Current code CI and downstream smoke pass.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
generate-cliwrote the generated script andSKILL.mdwithPath.write_text()and no encoding, so on Windows they were encoded with the system code page. A tool description containing a character outside that code page made generation fail. Characters that do exist in it produced a script Python rejects, since source files must be UTF-8. Both files are now written as UTF-8, matching how downloaded skills are written since #4715.Fixes #5320
The generated artifact readers in the tests also use UTF-8, carrying forward the corrections from #5357 by @ch-z-hc.
Fixes #5354
Co-authored-by: ch-z-hc 45302000+ch-z-hc@users.noreply.github.com