Skip to content

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

Closed as duplicate

Description

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:

Activity

  1. kilasuit commented on Jul 8, 2026

    @kilasuit
    Collaborator

    Dustin L. Howett (@DHowett) as this relates to powershell in conhost this isn't something that we can in the PowerShell repo could manage I don't think. Can you please confirm if my understanding is correct here?

  2. DHowett commented on Jul 9, 2026

    @DHowett

    Yes, RTL support will need to come through the console. We are tracking this in microsoft/terminal#538 (which we've informed this user of as well.)

  3. added
    Resolution-External
    on Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution-DuplicateResolution-External

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions