Reproduction
On Windows with Python 3.13 and the default CP1252 console encoding, current main (ea544d88405590eb91b5132eb73ef28546b6b0f3) successfully fetches the official documentation response but crashes while printing it:
python skills/vs-product-qa/references/volcengine-documentation/scripts/volcengine_docs.py fetch "https://www.volcengine.com/docs/85296/1544972?lang=en"
UnicodeEncodeError: 'charmap' codec can't encode characters ...
The endpoint returns Chinese Unicode content even for this URL. Running the same command with PYTHONIOENCODING=utf-8 succeeds, so the request and JSON parsing are not the failure point.
I searched all-state issues, all PR titles/bodies, and repository history for Windows, Unicode, encoding, and documentation-helper reports and found no existing report or pending fix.
Expected behavior
The helper should emit UTF-8 JSON consistently on supported platforms without requiring callers to preconfigure a console-specific environment variable.
Reproduction
On Windows with Python 3.13 and the default CP1252 console encoding, current
main(ea544d88405590eb91b5132eb73ef28546b6b0f3) successfully fetches the official documentation response but crashes while printing it:The endpoint returns Chinese Unicode content even for this URL. Running the same command with
PYTHONIOENCODING=utf-8succeeds, so the request and JSON parsing are not the failure point.I searched all-state issues, all PR titles/bodies, and repository history for Windows, Unicode, encoding, and documentation-helper reports and found no existing report or pending fix.
Expected behavior
The helper should emit UTF-8 JSON consistently on supported platforms without requiring callers to preconfigure a console-specific environment variable.