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.
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.