Skip to content

Feature Request: RTL (Arabic/Hebrew) text support in PowerShell console #27568

@Lord1Egypt

Description

@Lord1Egypt

Feature Request: RTL Text Support (Arabic / Hebrew)

Problem

When typing or printing Arabic (or any RTL language) in PowerShell (pwsh), letters appear in reversed order visually. This makes it impossible for Arabic-speaking developers to use their native language naturally in the terminal — including for interactive AI tools (e.g. Claude Code, GitHub Copilot) that support Arabic responses.

Expected Behavior

Arabic text should render right-to-left, with letters appearing in the correct reading order — the same way modern editors and browsers handle it.

Current Behavior

Arabic letters appear reversed/mirrored because PowerShell treats all console output as LTR.

Environment

  • Shell: PowerShell 7.x (pwsh) — standalone, not inside Windows Terminal
  • Console host: Windows Console Host (conhost.exe)
  • OS: Windows 11

Suggested Approach

  • Respect Unicode Bidirectional Algorithm (UAX Fix the Get-Item Pester test #9) when writing output to the console
  • Optionally insert Unicode RTL markers ( RIGHT-TO-LEFT MARK) around detected RTL strings on output
  • Coordinate with PSReadLine for input-side RTL handling

Impact

Arabic, Hebrew, Persian, and Urdu speakers — a significant global developer community — currently cannot use their native language in PowerShell sessions.

Also filed in PSReadLine and Windows Terminal repos for full coverage:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions