Skip to content

Replace codecvt in wstring_conversion.h #50053

@stuartmorgan-g

Description

@stuartmorgan-g

codecvt's wstring_convert is deprecated in C++17, with no standard-based replacement. The suggested migration path in the warning message is MultiByteToWideChar/WideCharToMultiByte. It's an uglier API, but if nothing else standards-based is introduced by the time we actually have to stop using it, that will presumably be our best option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listengineflutter/engine related. See also e: labels.platform-windowsBuilding on or for Windows specificallyteam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions