claude-code - 💡(How to fix) Fix Hebrew/RTL text appears reversed in v2.1.118+ on Windows (regression from v2.1.85) [2 comments, 2 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#52503Fetched 2026-04-24 06:05:27
View on GitHub
Comments
2
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×4commented ×2

Hebrew (and other RTL languages) text appears completely reversed/mirrored in Claude Code v2.1.118+. Both user input and Claude's responses display backwards in the terminal.

This worked correctly in v2.1.85 and was broken when upgrading to 2.1.118.

Root Cause

Between v2.1.85 and v2.1.118, Anthropic changed the package architecture:

  • v2.1.85: JavaScript bundle (cli.js) — patchable, RTL fix could be applied to source
  • v2.1.118: Compiled Windows binary (bin/claude.exe) — RTL handling removed or broken

In v2.1.85, the cli.js bundle contained RTL-aware rendering. In v2.1.118, the compiled binary appears to have lost this support.

Fix Action

Workaround

Downgrade to v2.1.85:

npm install -g @anthropic-ai/[email protected]

Code Example

npm install -g @anthropic-ai/claude-code@2.1.85
RAW_BUFFERClick to expand / collapse

Bug Report

Version: 2.1.118 (regression from 2.1.85) OS: Windows 11 Pro Terminal: Windows Terminal / CMD

Description

Hebrew (and other RTL languages) text appears completely reversed/mirrored in Claude Code v2.1.118+. Both user input and Claude's responses display backwards in the terminal.

This worked correctly in v2.1.85 and was broken when upgrading to 2.1.118.

Root Cause Analysis

Between v2.1.85 and v2.1.118, Anthropic changed the package architecture:

  • v2.1.85: JavaScript bundle (cli.js) — patchable, RTL fix could be applied to source
  • v2.1.118: Compiled Windows binary (bin/claude.exe) — RTL handling removed or broken

In v2.1.85, the cli.js bundle contained RTL-aware rendering. In v2.1.118, the compiled binary appears to have lost this support.

Steps to Reproduce

  1. Install claude-code v2.1.118: npm install -g @anthropic-ai/[email protected]
  2. Open any terminal on Windows
  3. Type or receive any Hebrew text (e.g. שלום)
  4. Observe text appears reversed: םולש

Expected Behavior

Hebrew text renders right-to-left correctly, as it did in v2.1.85.

Workaround

Downgrade to v2.1.85:

npm install -g @anthropic-ai/[email protected]

Impact

This affects all RTL language users (Hebrew, Arabic, Persian) on Windows. With the move to compiled binaries, users can no longer self-patch the fix.

Please restore RTL text support in the compiled binary or provide an official fix.

extent analysis

TL;DR

Downgrade to version 2.1.85 to restore correct RTL text rendering until an official fix is provided for the compiled binary.

Guidance

  • The issue is caused by the change from a JavaScript bundle to a compiled Windows binary, which removed RTL handling.
  • To verify the issue, install version 2.1.118 and test with Hebrew text as described in the steps to reproduce.
  • Downgrading to version 2.1.85 is a confirmed workaround, as it reverts to the JavaScript bundle with RTL-aware rendering.
  • Users affected by this issue should consider submitting feedback to Anthropic to prioritize an official fix for the compiled binary.

Example

No code snippet is necessary, as the workaround involves installing a specific version using npm: npm install -g @anthropic-ai/[email protected]

Notes

This solution applies specifically to Windows users of version 2.1.118 and later, who need RTL language support. The effectiveness of this workaround may change with future updates.

Recommendation

Apply the workaround by downgrading to version 2.1.85, as it is a verified solution that restores the desired functionality until an official fix is available for the compiled binary.

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