[BUG] Arabic (RTL) text is rendered reversed in Claude Code VSCode extension

Resolved 💬 3 comments Opened Feb 28, 2026 by amrzohery Closed Mar 4, 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 appears reversed (displayed left-to-right instead of right-to-left) in the Claude Code chat panel in VSCode. This affects both the sidebar and panel locations.

Steps to reproduce:

Open VSCode with Claude Code extension installed
Start a Claude Code chat session
Ask any question that generates Arabic text in the response
Arabic text appears reversed/backwards (characters are in reverse order)
Expected behavior:
Arabic text should render correctly in RTL (right-to-left) direction.

Actual behavior:
Arabic characters are displayed in reversed order (LTR instead of RTL), making the text unreadable.

Environment:

OS: Windows
VSCode version: latest
Claude Code extension: latest
Tested with both "claudeCode.preferredLocation": "panel" and "sidebar" — same issue in both
Additional context:

Setting "terminal.integrated.unicodeVersion": "11" does not fix the issue
The chat webview likely needs dir="rtl" or proper BiDi text handling for Arabic/Hebrew and other RTL scripts

What Should Happen?

RTL

Error Messages/Logs

Steps to Reproduce

Arabic text appears reversed (displayed left-to-right instead of right-to-left) in the Claude Code chat panel in VSCode. This affects both the sidebar and panel locations.

Steps to reproduce:

Open VSCode with Claude Code extension installed
Start a Claude Code chat session
Ask any question that generates Arabic text in the response
Arabic text appears reversed/backwards (characters are in reverse order)
Expected behavior:
Arabic text should render correctly in RTL (right-to-left) direction.

Actual behavior:
Arabic characters are displayed in reversed order (LTR instead of RTL), making the text unreadable.

Environment:

OS: Windows
VSCode version: latest
Claude Code extension: latest
Tested with both "claudeCode.preferredLocation": "panel" and "sidebar" — same issue in both
Additional context:

Setting "terminal.integrated.unicodeVersion": "11" does not fix the issue
The chat webview likely needs dir="rtl" or proper BiDi text handling for Arabic/Hebrew and other RTL scripts

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.0.24 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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