Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Cursor Chat / Agent UI does not correctly render mixed Persian/Arabic (RTL) + English (LTR) text.
When a message contains Persian/Arabic together with English technical terms (e.g. API, UVICORN_WORKERS, WebSocket, DB, health, login), the chat stays left-aligned and bidirectional (BiDi) ordering breaks. Punctuation (like ؟) appears on the wrong side, and sentence word order becomes scrambled—especially around symbols like /, +, =, and code-like tokens. This makes Persian/Arabic technical conversations hard to read.
Steps to Reproduce
1-Open Cursor Chat / Agent panel.
2-Send a Persian message that includes English technical terms, for example:
چرا وقتی UVICORN_WORKERS=2 و DB فقط ۵+۵=۱۰ کانکشن داره، health و login میزنن؟
3- Ask the model to reply in Persian while mixing English terms like API, WebSocket, retry storm, UVICORN_WORKERS, etc.
4- Observe alignment, punctuation placement, and word order in both the user message and the assistant reply.
Expected Behavior
- Persian/Arabic messages should render as RTL (right-aligned / correct reading direction).
- Mixed Persian/Arabic + English text should keep correct sentence order while keeping English identifiers readable.
- Punctuation such as ؟ and . should appear in the correct position for RTL text.
- Suggested approach: use proper BiDi handling in the chat renderer (e.g. dir=“auto”, unicode-bidi: plaintext or equivalent), including for markdown-rendered assistant replies.
Screenshots / Screen Recordings
Operating System
MacOS
Version Information
Version: 3.12.17
VS Code Extension API: 1.128.0
Commit: 0fb762053c34788bb7760d5673f8a6d4c8589d50
Date: 2026-07-17T02:53:53.006Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Darwin arm64 25.5.0
Does this stop you from using Cursor
No - Cursor works, but with this issue
