You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Leading half-width numerals in Japanese input are dropped from the prompt (e.g., “1人”) #4356
When entering Japanese text that starts with a half-width digit, codex-cli drops the leading numeral before sending the prompt. For example, typing ひとり and transformed to 1人 results in 人 being sent.
The copy and paste doesn't cause this issue.
Only typing thru IME/Japanese Input transformer causes this issue.
I am using MacOS 15.6.1(24G90)with the default Japanese input method named "日本語入力プログラム".
This occurs on both WSL and Windows when using Windows Terminal.
When I enter Japanese characters and delete one character with the Backspace key, two characters disappear from the screen.
It happens not only when the text is entered with the IME, but also when it is pasted from the clipboard. The Japanese characters get garbled or broken.
install Japanese - Romanji language and select this
Type hitori (romanji for ひとり)
from the popup select the item that has the half-width character 1人 (may need to tab a few times to select the right part of the popup dialog and search up/down to find this)
press enter a couple of times to insert the characters:
@genki I'm on it right now. Just making sure that the PR doesn't break other parts of the burst paste functionality as we speak and ensuring that the area is a bit better documented than it was to make it easier to understand how some of this code fits together.
Activity
tibo-openai commentedon Sep 27, 2025
I'm not able to reproduce by either typing or copy pasting the characters above, could you explain a bit more on how to repro this issue?
genki commentedon Sep 27, 2025
@tibo-openai
I have attached the video capturing this issue is really happening.
494793498-571a84a4-763f-4f82-9d09-df09dce220e3.1.mov
genki commentedon Sep 27, 2025
@tibo-openai
The copy and paste doesn't cause this issue.
Only typing thru IME/Japanese Input transformer causes this issue.
I am using MacOS 15.6.1(24G90)with the default Japanese input method named "日本語入力プログラム".
I have confirmed my PR has solved this issue.
github-actions commentedon Oct 3, 2025
Potential duplicates detected:
Powered by Codex Action
yanoryuichi commentedon Oct 18, 2025
This occurs on both WSL and Windows when using Windows Terminal.
When I enter Japanese characters and delete one character with the Backspace key, two characters disappear from the screen.
It happens not only when the text is entered with the IME, but also when it is pasted from the clipboard. The Japanese characters get garbled or broken.
joshka-oai commentedon Oct 20, 2025
Repro steps
Screen.Recording.2025-10-20.at.11.26.19.AM.mov
Confirmed that the PR fixes this issue:
Screen.Recording.2025-10-20.at.11.33.49.AM.mov
genki commentedon Oct 20, 2025
@joshka-oai Thank you for confirmation :)
@tibo-openai Would you review my PR?
joshka-oai commentedon Oct 20, 2025
@genki I'm on it right now. Just making sure that the PR doesn't break other parts of the burst paste functionality as we speak and ensuring that the area is a bit better documented than it was to make it easier to understand how some of this code fits together.
Fix IME submissions dropping leading digits (#4359)
Fix IME submissions dropping leading digits (openai#4359)
Fix IME submissions dropping leading digits (openai#4359)
Fix IME submissions dropping leading digits (openai#4359)
Fix IME submissions dropping leading digits (openai#4359)
Fix IME submissions dropping leading digits (#4359)
Fix IME submissions dropping leading digits (#4359)