RTL/LTR text corruption when mixing Hebrew and English inline
Problem
When Claude Code outputs Hebrew (RTL) text that contains inline English (LTR) words — like variable names, numbers, or technical terms — the text rendering becomes corrupted and unreadable. The bidirectional text algorithm breaks the sentence structure.
This is a significant problem for Hebrew-speaking users who need technical terms (function names, file paths, config values) embedded in Hebrew explanations.
Expected behavior
Proper BiDi rendering that keeps Hebrew flowing RTL while correctly isolating LTR runs (English words/code) within the sentence, similar to how modern terminals and text editors handle mixed-direction text.
Environment
- macOS 13.6 (Darwin 22.6.0)
- Claude Code CLI
- Terminal: likely default macOS Terminal or iTerm2
Impact
Makes Hebrew-language interaction with Claude Code very difficult for technical discussions. Users have to choose between all-English or broken mixed text.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗