Unexpected character change when running WSL in Windows Terminal #11767

Open
opened 2026-01-31 02:56:49 +00:00 by claunia · 0 comments
Owner

Originally created by @GuyPerson7018 on GitHub (Dec 11, 2020).

Environment

Windows build number: Microsoft Windows [Version 10.0.18363.1198]
Windows Terminal version (if applicable):
Latest Windows Terminal from Microsoft Store
Any other software?
WSL2(Kali Linux) from Microsoft store

Steps to reproduce

Step 1: Open cmd in Windows Terminal
Step 2: Type wsl and enter
Step 3: Type echo $'\en' and press enter

Expected behavior

Nothing much should happen(this is what happens in the original cmd)

Actual behavior

The font(or character set) changes completely, the only fix is to close and reopen the tab.
For example, when I type "echo Hello world", this is what I get:  åãèï Èåììï ÷ïòìä
However, it still works fine, apart from it being unreadable, I got the expected output from the previous command of "Èåììï ÷ïòìä"

Originally created by @GuyPerson7018 on GitHub (Dec 11, 2020). # Environment ```none Windows build number: Microsoft Windows [Version 10.0.18363.1198] Windows Terminal version (if applicable): Latest Windows Terminal from Microsoft Store Any other software? WSL2(Kali Linux) from Microsoft store ``` # Steps to reproduce Step 1: Open cmd in Windows Terminal Step 2: Type wsl and enter Step 3: Type echo $'\en' and press enter # Expected behavior Nothing much should happen(this is what happens in the original cmd) # Actual behavior The font(or character set) changes completely, the only fix is to close and reopen the tab. For example, when I type "echo Hello world", this is what I get:  åãèï Èåììï ÷ïòìä However, it still works fine, apart from it being unreadable, I got the expected output from the previous command of "Èåììï ÷ïòìä"
claunia added the Needs-TriageNeeds-Tag-Fix labels 2026-01-31 02:56:49 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#11767