I have a std::string with a known encoding, e.g. GB-18030. Is there a way to pass the string with the name of encoding to some functionality which converts the string to a UTF-16 wide string?
I don't see a way how to do it with std::wstring_convert.