NousResearch/hermes-agent

Windows gateway UTF-8 encoding fix for file I/O

Cluster 37423 · gateway. Data as of

Nothing open on GitHub. Fix merged in #71014. Check it covers your case.

The short answer

0open issues
0open PRs
5items grouped
Known?
Yes. 5 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #71014. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
Nothing open on GitHub.

A bug on Windows where gateway update flow crashes with Unicode errors due to missing explicit UTF-8 encoding in read_text/write_text calls. Multiple fix attempts address this by passing encoding='utf-8' explicitly.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #71014 fix(windows): residual encoding gaps — MCP stdio, gateway update file-I/O, STT/TTS, desktop spawn, bootstrap ver-stub

    merged to main

    files: apps/desktop/electron/backend-env.test.ts, apps/desktop/electron/backend-env.ts, gateway/dead_targets.py, gateway/delivery.py, gateway/platforms/qqbot/adapter.py, gateway/run.py, gateway/slash_commands.py, gateway/status.py, hermes_bootstrap.py, plugins/platforms/discord/adapter.py, plugins/platforms/feishu/adapter.py, plugins/platforms/google_chat/adapter.py, plugins/platforms/google_chat/oauth.py, plugins/platforms/telegram/adapter.py, plugins/platforms/whatsapp/adapter.py, tests/gateway/test_gateway_utf8_encoding.py, tests/test_hermes_bootstrap.py, tests/tools/test_mcp_stdio_encoding_handler.py, tools/mcp_tool.py, tools/transcription_tools.py (+1 more)

3 PRs closed without merging

From the close comments: merged via another change 1 · other 2

  • #37424 fix(gateway): add explicit utf-8 encoding to read_text/write_text in run.py (Windows) · other → d372fda, #71078
  • #37647 fix(gateway): pass encoding='utf-8' to all read_text/write_text in update flow (fixes #37423) · other → d372fda, #71078
  • #38985 fix(gateway): pass encoding="utf-8" to read_text/write_text in update path (#37423) · merged via another change → #71014, #37423
Closed issues · 1
  • Closed#37423[Bug]: Windows gateway hermes update flow crashes with UnicodeEncodeError/UnicodeDecodeError (bare read_text/write_text under cp1252/GBK)
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.40: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
gateway
Merged PRs
#71014
Closed issues
1
Attempts
3 PRs closed without merging
Fix link checked
24 Jul 2026

For your agent

The same facts, typed.