inline std::wstring AsciiToUnicode(std::string text) { // Could do some DEBUG check here to ensure it is really ASCII. // Also, if in the future, it is found, it is not the case, // it would much easier to update code. // Same as jean Davy here... return std::wstring(text.begin(), text.end()); }
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)