Pasting Ukrainian symbols crashes the codex

Resolved 💬 7 comments Opened Jul 3, 2025 by k-bx 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?

0.2.0

Which model were you using?

o4-mini

What platform is your computer?

ubuntu 22.04

What steps can reproduce the bug?

Copy "вітаю"
Ctrl+v into codex prompt

What is the expected behavior?

Pasting normally

What do you see instead?

Program exits silently

Additional information

_No response_

View original on GitHub ↗

7 Comments

einord · 1 year ago

I can add to the information that swedish characters å, ä and ö does not work either. Total crash as soon as I write any of them to the prompt.

nixilb · 1 year ago

Pasting other things too!
Try pasting this prompt:

Dans les fichiers *.py, il y a des instructions dans les commentaires commençant par ‘CODEX’. Exécute ces instructions pour modifier le code. Enleve le commentaire ensuite. Utilise toujours des espaces et non ‘ ' « narrow no‑break space » (U+202F). N’enleve aucun commentaire existant sauf s’il n’est plus valable.

nixilb · 1 year ago

This may be the same as https://github.com/openai/codex/issues/1450 since my prompt contains special char  narrow no‑break space .

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
k-bx · 1 year ago

It works, thank you!