# NousResearch/hermes-agent · Windows PowerShell clipboard UTF-8 encoding fixes

## Open now

- Nothing open on GitHub.

Reports and fixes for non-ASCII characters (emoji, CJK) being mangled when pasting clipboard content read via PowerShell, due to incorrect output encoding. Two bug reports and two corresponding fix attempts are present.

## TL;DR

- 5 member(s): 0 open issue(s), 2 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #81963. Verify it addresses your case.
- **Recommended:** read PR #81963 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.44`: the share of member 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.

## Closed / duplicate issues

- #38077: \[Windows\] Clipboard paste mangles emoji to ?? due to PowerShell -NoProfile bypassing UTF-8 encoding
- #53963: Bug: Pasting Chinese/CJK into Web Dashboard produces ??? due to PowerShell ANSI code page

## Prior & competing PRs

- **#81963: fix(windows): base64 clipboard reads + UTF-8 subprocess decodes (PowerShell codepage class)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `hermes_cli/goals.py`, `hermes_cli/tools_config.py`, `tests/hermes_cli/test_goal_gates.py`, `tests/tools/test_working_diff.py`, `tools/working_diff.py`, `ui-tui/src/__tests__/clipboard.test.ts`, `ui-tui/src/lib/clipboard.ts`
- **#38090: fix(tui): force UTF-8 output encoding in PowerShell clipboard read**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#37212`, `#81963`
- **#54057: fix(tui): force UTF-8 output when reading clipboard via PowerShell**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#38090`, `#37212`, `#81963`

## Fix status

- Merged to main in PR #81963 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-08`.
- Subsystem: `apps/desktop`
