One of the bolder moves of the cpp committee was to deprecate codecvt for C++17. My idea how to fix this is to actually resolve this differently.
Proposal:
Keep everything in std::string using utf8 encoding, and only convert to unicode (convert std::wstring) when actually use it.
One of the bolder moves of the cpp committee was to deprecate codecvt for C++17. My idea how to fix this is to actually resolve this differently. Proposal: Keep everything in std::string using utf8 encoding, and only convert to unicode (convert std::wstring) when actually use it.