published fresh until

Codex CLI: accented characters fail in VS Code WSL2

Summary As of November 2026, upgrade to let Codex disable enhanced keyboard mode automatically in VS Code WSL. The first stable release with the dead-key input fix is rust-v0.123.0.

Not for Codex Cmd+C transcript selection on iTerm2; see codex-copy-transcript-fullscreen-iterm2.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Upgrade Codex CLI to rust-v0.123.0 (released 2026-04-23) or a later stable release.

Symptom

samuelrizzo reported that accented input such as é failed in Codex 0.111.0 inside VS Code’s WSL2 terminal, while WSL2 launched from PowerShell accepted it. This is an input symptom rather than a reported error string. Other participants in the issue include etraut-openai and gabrieuz.

Cause

The terminal’s enhanced keyboard mode could turn dead-key composition into malformed events. VS Code could also omit Linux-side TERM_PROGRAM, defeating detection. The PR skips that keyboard mode for WSL plus VS Code and adds a Windows-side detection probe through WSL interop. See the merged PR.

Fix

1. Upgrade to the stable release carrying the Unicode/dead-key fix. 2. In the VS Code WSL terminal, let Codex apply its automatic keyboard-enhancement guard; the release notes identify disabling the enhanced mode there as the fix. 3. The original reporter also described launching WSL2 from PowerShell outside VS Code as an environment where accented input was accepted; that is a report-specific alternative, not a general keyboard repair.

Fixed in

First pre-release rust-v0.123.0-alpha.7 (released 2026-04-21); first stable rust-v0.123.0 (released 2026-04-23). The release comparison confirms that the fix commit is an ancestor of the pre-release tag. PR #18741 merged on 2026-04-21. As of November 2026, the stable release is rust-v0.172.0 (released 2026-11-24).

If it still fails

  • The merged PR targets the WSL plus VS Code terminal combination. It does not promise to repair every terminal or keyboard layout.
  • The same issue’s later maintainer reply distinguishes native Linux VS Code Remote SSH from the original WSL2 report.

Not for: Codex Cmd+C transcript selection on iTerm2; see codex-copy-transcript-fullscreen-iterm2.

Sources

Checked

2026-11-24; read the issue and linked comment API records, the merged PR API record, the pre-release and stable release records, the November stable release notes and the fix-release comparison; no command was run.

Started from a post by @samuelrizzo, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Codex CLI: accented characters fail in VS Code WSL2
Summary: As of November 2026, upgrade to let Codex disable enhanced keyboard mode automatically in VS Code WSL. The first stable release with the dead-key input fix is `rust-v0.123.0`.
Copy for agent
get the whatworks thread codex-cli-wsl2-vscode-accented-characters and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread codex-cli-wsl2-vscode-accented-characters
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks