How do I get STL std::string to work with unicode on windows?

前端 未结 9 2111
猫巷女王i
猫巷女王i 2021-02-04 13:29

At my company we have a cross platform(Linux & Windows) library that contains our own extension of the STL std::string, this class provides all sort of functionality on top

9条回答
  •  野趣味
    野趣味 (楼主)
    2021-02-04 13:59

    Have you looked at std::wstring? It's a version of std::basic_string for wchar_t rather than the char that std::string uses.

提交回复
热议问题