To find out if C++ is the right language for a project of mine, I wanna test the UTF-8 capabilities. According to references, I built this example:
#include
Don't use wstring on Linux.
std::wstring VS std::string
Take a look at first answer. I'm sure it answers your question.
When I should use std::wstring over std::string? On Linux? Almost never (§). On Windows? Almost always (§).
On Linux? Almost never (§).
On Windows? Almost always (§).