COOKED_READ (cmd.exe) doesn't properly support emoji input #2040

Open
opened 2026-01-30 22:45:16 +00:00 by claunia · 0 comments
Owner

Originally created by @peter-bertok on GitHub (Jun 24, 2019).

Environment

Windows build number: 1903
Windows Terminal version (if applicable): 0.2.1715.0

Steps to reproduce

Paste text containing complex Unicode characters such as emoji into a PowerShell tab as a string literal.
Emoji will be displayed as "??" placeholders, but then display correctly when the literal is "output" by pressing enter.

Expected behavior

Unicode characters such as Emoji should be consistently displayed, including in string literals, input text, command-line arguments, etc...

Actual behavior

Inconsistent display:

Screenshot

Originally created by @peter-bertok on GitHub (Jun 24, 2019). # Environment ```none Windows build number: 1903 Windows Terminal version (if applicable): 0.2.1715.0 ``` # Steps to reproduce Paste text containing complex Unicode characters such as emoji into a PowerShell tab as a string literal. Emoji will be displayed as "??" placeholders, but then display correctly when the literal is "output" by pressing enter. # Expected behavior Unicode characters such as Emoji should be consistently displayed, including in string literals, input text, command-line arguments, etc... # Actual behavior Inconsistent display: ![Screenshot](https://user-images.githubusercontent.com/14988123/59984055-60b94d80-9669-11e9-9d48-bc4a8ed85e9b.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2040