Skip to content

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

@peter-bertok

Description

@peter-bertok

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-CookedReadThe cmd.exe COOKED_READ handlingArea-InputRelated to input processing (key presses, mouse, etc.)In-PRThis issue has a related PRIssue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Needs-Tag-FixDoesn't match tag requirementsPriority-1A description (P1)Product-ConhostFor issues in the Console codebase

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions