Skip to content

fix(docs): emit helper output as UTF-8 - #55

Open
dajiaohuang wants to merge 1 commit into
volcengine:mainfrom
dajiaohuang:fix/windows-doc-helper-utf8
Open

fix(docs): emit helper output as UTF-8#55
dajiaohuang wants to merge 1 commit into
volcengine:mainfrom
dajiaohuang:fix/windows-doc-helper-utf8

Conversation

@dajiaohuang

Copy link
Copy Markdown

Summary

  • configure the documentation helper's text stdout as UTF-8 when supported
  • refresh the bundled helper copy used by packaged skill installs

This prevents successful Unicode documentation responses from failing during JSON output on Windows consoles with a legacy default encoding.

Fixes #49.

Validation

  • python -m py_compile skills/vs-product-qa/references/volcengine-documentation/scripts/volcengine_docs.py
  • fetched the documented Viking AI Search root on a default Windows console and parsed the emitted JSON successfully (2,361 Unicode content characters)
  • npm run build
  • npm run validate:skills
  • git diff --check

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.

Documentation helper crashes on Unicode output in Windows consoles

1 participant