Skip to content

[performance][windows][stdio] write_valid_utf8_to_console should almost certainly call MultiByteToWideChar #107092

Closed
@strega-nil-ms

Description

@strega-nil-ms

(and similarly, read_u16s() should call WideCharToMultiByte)

Windows provides these nice functions which performantly implement utf-8 <-> utf-16 conversions. We should probably call them in the standard library when possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-windowsOperating system: WindowsT-libsRelevant to the library team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions