claude-code - 💡(How to fix) Fix [BUG] CLaude code Shows (RTL) and mixed-language content in corrupted way [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#48559Fetched 2026-04-16 06:56:45
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Participants
Timeline (top)
labeled ×4cross-referenced ×1

Error Message

Error Messages/Logs

N/A (This is a rendering/display issue, not a crash error).

Code Example

N/A (This is a rendering/display issue, not a crash error).
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

The Claude Code CLI fails to properly render or handle Arabic text (Right-to-Left/RTL). When the output contains Arabic characters—or a mix of English and Arabic—the text becomes fragmented, incorrectly aligned, or rendered in reverse. This makes it extremely difficult to read code suggestions, logs, or chat responses, significantly hindering the utility of the tool for Arabic-speaking developers.

What Should Happen?

Claude Code should support bidirectional text (BiDi) in the terminal, correctly displaying Arabic characters and maintaining the integrity of mixed-language (English/Arabic) content. The text should be readable, correctly aligned, and properly formatted without character corruption or layout breaks. that contains the input fields, the user writes his/her message in it, and the AI response

Error Messages/Logs

N/A (This is a rendering/display issue, not a crash error).

Steps to Reproduce

Steps to Reproduce*

Open your terminal and start Claude.

Ask Claude to explain a concept in Arabic or provide a comment/variable name in Arabic. like "اشرح مفهوم ال evenets في هندسة البرمجيات وما المفاهيم المرتبطة به "

Observe the output in the terminal.

The Arabic text will appear jumbled or mirrored (e.g., words appearing in reverse order or separated characters).

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

No response

Claude Code Version

2.1.92

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

No response

extent analysis

TL;DR

The issue can be mitigated by exploring Unicode and BiDi support in the terminal or using a different terminal that handles Right-to-Left languages correctly.

Guidance

  • Verify that the terminal (PowerShell) supports Unicode and BiDi rendering by checking its documentation or testing with other Arabic text.
  • Check if there are any configuration options in Claude Code or the terminal to enable proper BiDi support.
  • Consider using a different terminal or shell that is known to handle Arabic text correctly, such as Windows Terminal or Git Bash.
  • If possible, test the same commands in a different environment, like a Linux or macOS terminal, to see if the issue is specific to Windows or PowerShell.

Example

No specific code example is provided as the issue seems to be related to terminal rendering rather than code syntax.

Notes

The solution may depend on the specific terminal and operating system being used. The issue might not be directly related to Claude Code itself but rather to how the terminal handles Unicode characters and BiDi text.

Recommendation

Apply workaround: Use a different terminal that is known to handle Arabic text correctly, as the current terminal's limitations might be the primary cause of the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING