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
Incorrect BiDi (RTL/LTR) Text Rendering in Codex Chat Panel on VS Code #30414
Bug: Incorrect BiDi (RTL/LTR) Text Rendering in Codex Chat Panel on VS Code
Summary
The Codex extension incorrectly renders mixed Persian (RTL) and English/code (LTR) text in both the chat input and chat output. The visual order of text becomes incorrect, making mixed-language conversations difficult to read.
Environment
Extension: Codex – OpenAI's coding agent
Extension ID: openai.chatgpt
Extension Version: 26.623.42026
VS Code Version: 1.125.1
OS: Windows 10 x64 (Build 19045)
Steps to Reproduce
Open the Codex chat panel.
Type or receive a message containing both Persian and English/code.
Example:
مهم سالم است build خواهش میکنم.
or
سلام build دنیا
Expected Behavior
The Persian text should remain right-to-left while English words and inline code should preserve their left-to-right direction without changing the surrounding sentence order.
Actual Behavior
The visual order becomes incorrect. English words or inline code cause adjacent Persian text to be reordered, making the sentence difficult to read.
The issue occurs in:
✅ Chat input box
✅ Assistant responses
Notes
This appears to be a Unicode Bidirectional (BiDi) rendering issue in the chat UI/WebView rather than a font problem.
The same Persian text displays correctly in the VS Code editor, suggesting the issue is specific to the Codex chat interface.
Additional Information
This issue is reproducible consistently on the latest versions of both VS Code and the Codex extension.
What steps can reproduce the bug?
just writing or replying
What is the expected behavior?
No response
Additional information
No response
Reacted by zvi, Mikelanzh, Ali Seydnezhad and Mohammadreza
Activity
github-actions commentedon Jun 28, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action