Skip to content

Bug: Pasting Turkish i/İ into Codex CLI on Windows drops those characters (only IIII ııı remains) #5684

@ahmetcemkaraca

Description

@ahmetcemkaraca

What version of Codex is running?

0.49.0

What subscription do you have?

pro

Which model were you using?

gpt-5-codex(med-high)

What platform is your computer?

Microsoft Windows NT 10.0.26100.0 x64

What issue are you seeing?

Additional information / environment

Terminals tried: Windows PowerShell (inside Windows Terminal), classic PowerShell.

Keyboard layouts tried: Turkish Q and US — same result.

Other CLIs in the same terminal do not have this paste problem (so it appears specific to Codex CLI’s TUI input handling).

No custom Codex keybindings; VI mode not available.

Config is near-default. CODEX_HOME points to ~/.codex.

Logs & diagnostics

If helpful, I can attach:

~/.codex/log/codex-tui.log excerpt around the time of paste

~/.codex/history.jsonl for the affected session (if relevant)

What steps can reproduce the bug?

Launch Codex CLI: codex
Copy this test string:
iiii İİİ ııı
Paste into the Codex CLI input box (PowerShell / Windows Terminal).

Note: VI mode is not enabled; bracketed paste support in the terminal is not available.

What is the expected behavior?

All pasted characters should appear as-is:
iiii İİİ ııı
What do you see instead?

Only these parts show up (the dotted i / uppercase İ go missing):
IIII ııı

So lowercase i and uppercase İ are dropped/stripped on paste; uppercase dotless I and lowercase dotless ı remain.

Additional information

According to Codex docs, Windows support is still experimental and WSL is recommended; however, this looks like a specific paste/input bug in the CLI TUI on Windows because other CLIs in the same terminal handle these characters correctly.

Related issues
Cannot input or paste @ sign on Windows (#4253) — indicates paste/input handling quirks on Windows TUI.
GitHub

Workarounds tried

Switching keyboard layout to US → No change
Updating PowerShell / Windows Terminal → No change
Toggling terminal paste/vi modes → VI mode not present; bracketed paste not supported → No change
Using other CLIs in the same terminal → Works fine

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions