Skip to content

RTL (Right-to-Left) text is rendered incorrectly as LTR #33328

Open

Description

@alighafoorzade

What version of the Codex App are you using (From “About Codex” dialog)?

26.707.72221

What subscription do you have?

Pro

What platform is your computer?

x64

What issue are you seeing?

When using the ChatGPT Desktop application, right-to-left (RTL) languages such as Persian (Farsi) are not rendered correctly.

Instead of displaying the text from right to left, the application lays out the content as left-to-right (LTR), causing punctuation, mixed English/Persian text, code snippets, and paragraph alignment to appear incorrectly.

What steps can reproduce the bug?

Feedback ID: no-active-thread-019f65a5-5d4f-7423-85ee-6d1e63f5d241

What is the expected behavior?

  • RTL paragraphs should be rendered with proper right-to-left direction.
  • Mixed RTL/LTR text (e.g., Persian with English words, code, or numbers) should follow the Unicode Bidirectional Algorithm and display correctly.
  • Text alignment and cursor behavior should match standard RTL text rendering.

Additional information

No response

Activity

  1. added
    app
    on Jul 15, 2026
  2. added
    bug
    on Jul 15, 2026
  3. github-actions commented on Jul 15, 2026

    @github-actions
    Contributor
  4. rshouker commented on Jul 26, 2026

    @rshouker

    Now that this the ChatGPT app, and the old one supported it, I consider it a major regression. Please fix it ASAP, because it makes it unsuable.

  5. anasalrawhani commented on Jul 30, 2026

    @anasalrawhani

    Confirmed on Arabic in the current macOS desktop build.

    Environment: ChatGPT Desktop / Codex surface 26.721.81911 (build 5973), macOS 26.5.2 (25F84), Apple Silicon arm64.

    This affects more than paragraph alignment. When Arabic explanations contain English technical terms such as Deep Learning, Big Data, Data Privacy, and Human Oversight, the surrounding Arabic sentence is visually reordered. Terms, punctuation, and wrapped lines appear beside the wrong parts of the sentence, making the content extremely difficult to read.

    I also tested pure Arabic paragraphs, Markdown headings and lists, right-aligned Markdown tables, inline code, Unicode direction marks, directional isolation characters, and explicit RTL HTML containers. None produced correct right-aligned rendering with stable mixed Arabic/English order.

    This is a high-impact internationalization and accessibility regression for Arabic-speaking developers because technical conversations necessarily mix Arabic prose with English identifiers, package names, commands, paths, and code. Please escalate this to the desktop renderer and internationalization team. Screenshots from the current build are attached.

    Image Image
  6. ahmedtolan2019 commented on Oct 23, 2026

    @ahmedtolan2019

    For the wrapped-line case in the macOS comment, I'd include these checks in a renderer regression:

    • Arabic paragraphs keep their base direction while English phrases retain their internal LTR order.
    • Normal paragraph wrapping remains enabled, and a separate English paragraph stays LTR.
    • The logical text stays unchanged after formatting, including punctuation and paths.
    • The checks still pass after streaming updates or replacement of a nested link label with identical text.

    I maintain Codex RTL for Mac and have an MIT-licensed browser fixture and tests at 480px and 1280px covering these boundaries. These are synthetic browser checks, not a reproduction of the exact screenshots or a validation of cursor behavior in the desktop editor.

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

    appbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions