Windows Terminal doesn't display Arabic Characters #5786

Closed
opened 2026-01-31 00:21:37 +00:00 by claunia · 3 comments
Owner

Originally created by @ghost on GitHub (Jan 6, 2020).

Environment

Windows build number: Microsoft Windows [Version 10.0.18363.535]
Windows Terminal version (if applicable): 0.7.3451.0

Any other software?

Steps to reproduce

Opening Windows Terminal and connecting via SSH to the server (CentOS release 6.10 (Final)), doesn't really matter if you use the SSH step but I didn't test. then git diff a certain file that contains Arabic characters (I didn't try this with other languages like Mandarin Chinese or Hebrew to see if the error exists).

Expected behavior

After running git diff on a file that contains Arabic text, it should display the correct characters.
It works fine when I use the command cat.

Actual behavior

Instead it display the following:
The text that looks like <D8><A7>... represents the arabic text.

Windows_Terminal

Originally created by @ghost on GitHub (Jan 6, 2020). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Microsoft Windows [Version 10.0.18363.535] Windows Terminal version (if applicable): 0.7.3451.0 Any other software? ``` # Steps to reproduce <!-- A description of how to trigger this bug. --> Opening Windows Terminal and connecting via SSH to the server (**CentOS release 6.10 (Final)**), doesn't really matter if you use the SSH step but I didn't test. then `git diff` a certain file that contains Arabic characters (I didn't try this with other languages like Mandarin Chinese or Hebrew to see if the error exists). # Expected behavior <!-- A description of what you're expecting, possibly containing screenshots or reference material. --> After running `git diff` on a file that contains Arabic text, it should display the correct characters. It works fine when I use the command `cat`. # Actual behavior <!-- What's actually happening? --> Instead it display the following: The text that looks like `<D8><A7>`... represents the arabic text. ![Windows_Terminal](https://user-images.githubusercontent.com/59362525/71817151-41be5e00-3085-11ea-9cec-1f75f34ca37c.PNG)
claunia added the Needs-TriageNeeds-Tag-FixResolution-AnsweredProduct-Terminal labels 2026-01-31 00:21:37 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Jan 6, 2020):

To be fair, I think that the translation of Arabic characters to <D8><A7>... is being done by git diff, not the Terminal.

That being said, we definitely don't support Arabic or any RTL text currently, which I think is being tracked in #538

@zadjii-msft commented on GitHub (Jan 6, 2020): To be fair, I think that the translation of Arabic characters to `<D8><A7>...` is being done by `git diff`, not the Terminal. That being said, we definitely _don't_ support Arabic or any RTL text currently, which I think is being tracked in #538
Author
Owner

@ghost commented on GitHub (Jan 6, 2020):

I tested Mandarin Chinese, Hebrew and accented French letters like accèéàüûùÔôö etc, and I got the same result, characters are not displayed.

I tried with a different SSH client (Termius) and it displays the characters, however they're backwards.

Anyway, there are more bigger issues that need to be solved than this. The key takeaway from this is that the French accents don't display correctly.

@ghost commented on GitHub (Jan 6, 2020): I tested Mandarin Chinese, Hebrew and accented French letters like accèéàüûùÔôö etc, and I got the same result, characters are not displayed. I tried with a different SSH client ([Termius](https://termius.com/)) and it displays the characters, however they're backwards. Anyway, there are more bigger issues that need to be solved than this. The key takeaway from this is that the French accents don't display correctly.
Author
Owner

@ghost commented on GitHub (Jan 7, 2020):

I just found out that the characters don't display correctly when accessing MySQL. The accented letters and the letter before them don't show and Arabic text displayed as ??????? ????.

Terminal_MySQL

@ghost commented on GitHub (Jan 7, 2020): I just found out that the characters don't display correctly when accessing MySQL. The accented letters and the letter before them don't show and Arabic text displayed as ??????? ????. ![Terminal_MySQL](https://user-images.githubusercontent.com/59362525/71886611-d1731380-313c-11ea-9259-f815512e819f.PNG)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5786