Unicode observations on stdin & stdout #5318

Closed
opened 2026-01-31 00:10:26 +00:00 by claunia · 4 comments
Owner

Originally created by @sipsorcery on GitHub (Nov 30, 2019).

Originally assigned to: @DHowett on GitHub.

It's nice to see that unicode handling on stdin and stdout is improving from the old Windows Console.

The tests below were done using:

  • Windows 10 Pro 10.0.1.19033 Build 19033
  • Windows Terminal Preview v0.7.3291.0
  • Font: cascadia

The test steps were:

  1. Paste Run🏃 to the command prompt,
  2. Hit Enter
  3. Press the Up Arrow

cmd_run

ps_run

wsl_run

Originally created by @sipsorcery on GitHub (Nov 30, 2019). Originally assigned to: @DHowett on GitHub. It's nice to see that unicode handling on stdin and stdout is improving from the old Windows Console. The tests below were done using: - Windows 10 Pro 10.0.1.19033 Build 19033 - Windows Terminal Preview v0.7.3291.0 - Font: cascadia The test steps were: 1. Paste `Run🏃` to the command prompt, 2. Hit Enter 3. Press the Up Arrow ![cmd_run](https://user-images.githubusercontent.com/197660/69900259-0aafab00-1369-11ea-9dc6-43d0081ff7c1.png) ![ps_run](https://user-images.githubusercontent.com/197660/69900271-26b34c80-1369-11ea-9e21-0d4f6900c175.png) ![wsl_run](https://user-images.githubusercontent.com/197660/69900286-3e8ad080-1369-11ea-8a04-03c000239638.png)
claunia added the Resolution-Duplicate label 2026-01-31 00:10:26 +00:00
Author
Owner

@j4james commented on GitHub (Nov 30, 2019):

I suspect there may be two separate issues here, because each shell has its own command line editor. For PowerShell, this problem was previously reported in issue #1503. For the cmd shell, I think it's a limitation of the COOKED_READ implementation, and the way it handles surrogate pairs. I couldn't find an existing issue for that, but it's possible it could be addressed by #780.

@j4james commented on GitHub (Nov 30, 2019): I suspect there may be two separate issues here, because each shell has its own command line editor. For PowerShell, this problem was previously reported in issue #1503. For the cmd shell, I think it's a limitation of the COOKED_READ implementation, and the way it handles surrogate pairs. I couldn't find an existing issue for that, but it's possible it could be addressed by #780.
Author
Owner

@DHowett-MSFT commented on GitHub (Dec 2, 2019):

I'm taking the baton here to find the dupes. Thanks @j4james for 1503. 😄

@DHowett-MSFT commented on GitHub (Dec 2, 2019): I'm taking the baton here to find the dupes. Thanks @j4james for 1503. :smile:
Author
Owner

@zadjii-msft commented on GitHub (Dec 9, 2021):

You know, he never did find those dupes 😛

I'll go with #1503 since that's basically the root cause here. Thanks! /dup #1503

@zadjii-msft commented on GitHub (Dec 9, 2021): You know, he never did find those dupes 😛 I'll go with #1503 since that's basically the root cause here. Thanks! /dup #1503
Author
Owner

@ghost commented on GitHub (Dec 9, 2021):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Dec 9, 2021): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5318