Skip to content

Check usages of UTF-8 strings #2

Description

@YukinoHayakawa

C++20 introduced std::u8string which is meant to hold UTF-8 encoded strings using the new char8_t. The default std::string represents platform-defined native narrow strings.

The engine code used to use string with u8 literals and do conversions at IO boundaries. Seems now the boundaries have to be more explicit because the u8string does not support IO.

Try to maintain using u8strings within the engine and using string to deal with io & 3rdparty libs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions