mirror of
https://git.openapi.site/https://github.com/desirecore/market.git
synced 2026-12-05 11:39:26 +08:00
## Summary - Keep the caller's stdout encoding and escape only characters it cannot represent. This prevents the normal skill initializer command from aborting on legacy-encoded Windows pipes and preserves Unicode output on UTF-8 streams. - Write all generated skill templates as UTF-8 so the localized content does not depend on the machine locale. - Exercise the actual CLI with CP1252 and UTF-8 output in the i18n validation workflow, including a non-ASCII destination, generated localized files, and duplicate-directory errors. ## Validation - Reproduced UnicodeEncodeError with the unmodified CLI and CP1252 stdout; both focused regression tests pass on the change. - Catalog and i18n validation passed with zero errors; translation freshness and `git diff --check` passed. - No new dependencies or metadata changes. A native installed-app confirmation still belongs to the consuming product after syncing the bundled Market seed.