[BUG] Arabic text appears reversed/mirrored in terminal (v2.1.7+)

Resolved 💬 5 comments Opened Mar 14, 2026 by azozotb Closed Apr 13, 2026

Preflight Checklist

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

What's Wrong?

Arabic text is displayed in reverse order in the terminal.
For example, the word "مرحبا" appears as "ابحرم" (mirrored).
This happens in all terminals: PowerShell, CMD, inside Android Studio.
The issue started after updating from v2.1.6 to v2.1.7 or higher.

What Should Happen?

Arabic text should display correctly from right to left,
same as it worked correctly in v2.1.6.

Error Messages/Logs

No error messages. The bug is visual only - Arabic characters 
appear in reversed order on screen.

Steps to Reproduce

  1. Install claude-code v2.1.7 or higher on Windows
  2. Open PowerShell or CMD and run: claude
  3. Ask Claude any question in Arabic
  4. Arabic response text appears reversed/mirrored

Workaround: downgrading to v2.1.6 fixes the issue
npm install -g @anthropic-ai/claude-code@2.1.6

OS: Windows 11
Claude Code version: 2.1.76

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.6

Claude Code Version

2.1.76 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

Terminal/Shell: PowerShell, CMD, and Android Studio Terminal (all affected)

The issue affects all Windows terminals (PowerShell, CMD, Android Studio terminal).
Downgrading to v2.1.6 completely fixes the problem.
Arabic characters are displayed in reverse order (LTR instead of RTL).
Example: "مرحبا" displays as "ابحرم"

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗