Bug: For multi-byte characters like Chinese, some output encodings can cause incorrect text rendering. #18242
Labels
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Windows Terminal version
1.21.3231.0
Windows build number
10.0.22635.0
Other Software
PowerShell
Steps to reproduce
I cleared the contents of
$profile
,and added a test function in$profile
.There are two text rendering issues here.
Windows Terminal Preview
, but it works fine in ohter terminals likeWindows Terminal
,Tabby
,Hyper
.Note
I'm in China, so the encoding of
Windows Terminal (Preview)
is automatically changed toGB2312
.But ohter terminals like
Tabby
andHyper
are usingUTF8
encoding.UTF8
,Windows Terminal (Preview)
has unexpected behavior in rendering Chinese or other multi-byte characters, but it works fine in other terminals likeTabby
,Hyper
.Note
other terminals like
Tabby
,Hyper
works fine because they always useUTF8
encoding.I switched to
UTF8
with this regional setting.Expected Behavior
Windows Terminal Preview
.Actual Behavior
Windows Terminal Preview
.The text was updated successfully, but these errors were encountered: