New answers tagged


For what it's worth, std::wstring does nothing what you'd expect (it's UCS-2, not UTF-16, they are different; the former cannot express characters outside the basic multilingual plane, including Emoji such as U+1F44E THUMBS DOWN SIGN 👎). For information on Unicode handling in C++11 (and later), see this overview. TL;DR you probably really want something ...

Top 50 recent answers are included