Codex crashes when non-ASCII (Unicode) characters are typed

Resolved 💬 6 comments Opened Jul 2, 2025 by LquenS Closed Jul 9, 2025
💡 Likely answer: A maintainer (bolinfest, collaborator) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.2.0

Which model were you using?

qwen3

What platform is your computer?

Linux 6.6.87.2-microsoft-standard-WSL2 x86_64 x86_64

What steps can reproduce the bug?

At the input section, type any non-ASCII or Unicode character.

Examples: Such as, _but is not limited to_, Turkish characters (İ, ı, ş, ü, ğ, ö, ç), Chinese characters (e.g., 诶), or Russian Cyrillic characters (e.g., Й, Ц, У).

What is the expected behavior?

Codex should accept and correctly process typing containing non-ASCII (Unicode) characters without crashing. It should display these characters as entered.

What do you see instead?

The application crashes immediately upon by typing any non-ASCII or Unicode character.

Additional information

_No response_

View original on GitHub ↗

6 Comments

neteroster · 1 year ago

Same problem here

ccq18 · 1 year ago

Enter "你好" to reproduce the error

bolinfest collaborator · 1 year ago

I suspect https://github.com/openai/codex/pull/1467 may fix the issue: I'll try to get a release with the fix out soon, though there are some other changes I am also trying to get in.

bolinfest collaborator · 1 year ago

Please try 0.3.0:

https://github.com/openai/codex/releases/tag/rust-v0.3.0

Also available via npm:

https://www.npmjs.com/package/@openai/codex

I'm still waiting for Homebrew to pick up the new version.

bolinfest collaborator · 1 year ago
LquenS · 1 year ago

Tried with, codex-cli 0.3.0. It's works as far i can test, no crashes yet.