A parsing error occurs when entering a Unicode character that exceeds two bytes (>=U+10000) in the input area #20944

Closed
opened 2026-01-31 07:28:31 +00:00 by claunia · 1 comment
Owner

Originally created by @BlueRain-debug on GitHub (Dec 3, 2023).

Windows Terminal version

1.18.3181.0

Windows build number

10.0.19045.3693

Other Software

No response

Steps to reproduce

Enter a character >U+10000 such as 🌯 (U+1F32F) or 𪚥 (U+2A6A5).

Expected Behavior

image
The character should be displayed correctly as in the preview image

Actual Behavior

PowerShell:
image

Command Prompt:
image

Additionally, in the command prompt, if you insert or delete characters in front of this character, this character will be displayed correctly, but this does not apply to PowerShell.
image

This may be related to https://github.com/microsoft/terminal/issues/6555 but I'm not really sure.

Originally created by @BlueRain-debug on GitHub (Dec 3, 2023). ### Windows Terminal version 1.18.3181.0 ### Windows build number 10.0.19045.3693 ### Other Software _No response_ ### Steps to reproduce Enter a character >U+10000 such as 🌯 (U+1F32F) or 𪚥 (U+2A6A5). ### Expected Behavior ![image](https://github.com/microsoft/terminal/assets/68976789/b1326c85-0d03-429c-9c9e-e1c03ff4d1aa) The character should be displayed correctly as in the preview image ### Actual Behavior **PowerShell:** ![image](https://github.com/microsoft/terminal/assets/68976789/13fe30f7-8cc4-4864-af31-01a3ffb090c1) **Command Prompt:** ![image](https://github.com/microsoft/terminal/assets/68976789/11c2724e-768b-42a0-8cd1-2f90e597459e) Additionally, in the command prompt, if you insert or delete characters in front of this character, this character will be displayed correctly, but this does not apply to PowerShell. ![image](https://github.com/microsoft/terminal/assets/68976789/aed85655-b3f9-44e0-875a-269fd573f03d) This may be related to https://github.com/microsoft/terminal/issues/6555 but I'm not really sure.
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 07:28:32 +00:00
Author
Owner

@BlueRain-debug commented on GitHub (Dec 3, 2023):

I think this is a duplicate of https://github.com/microsoft/terminal/issues/1503 and this should have been fixed.

@BlueRain-debug commented on GitHub (Dec 3, 2023): I think this is a duplicate of https://github.com/microsoft/terminal/issues/1503 and this should have been fixed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20944