I defined a const char* s = "\u0633\u0644\u0627\u0645" which should be translated to std::wstring as L"سلام". How can I perform this conversion? In other words, I need something similar to this web site, in which its screen shot has been provided below:
As it can be seen, the term is decoded to سلام. I want to write C++ code to perform this same decoding.

One solution is to use codecvt, though it is deprecated.