Skip to content

Recognizing of UTF-8 partials in til :: u8u16 may fail #4673

@german-one

Description

@german-one

Steps to reproduce

@j4james discovered that printf "\xE2"; printf "\x98\xBA\n" failed to output the expected glyph using a build from the latest source. See #1851 (comment)
I was able to reproduce this issue by updating the unit test using the same byte sequences.

Expected behavior

Shall print a single 'WHITE SMILING FACE' (U+263A).

Actual behavior

Prints 'REPLACEMENT CHARACTER' (U+FFFD) three times in a row.

Metadata

Metadata

Assignees

Labels

Area-OutputRelated to output processing (inserting text into buffer, retrieving buffer text, etc.)Area-ServerDown in the muck of API call servicing, interprocess communication, eventing, etc.Issue-BugIt either shouldn't be doing this or needs an investigation.Priority-2A description (P2)Product-ConhostFor issues in the Console codebaseResolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions