I am working on a legacy code that uses MFC and Visual C++ libraries. I need to create a vector of CString
that can hold Cyrillic words as shown in the following sample code snippet:
std::vector<CString> vecContainingCyrillicWords;
vecContainingCyrillicWords.push_back(_T("English Words"));
vecContainingCyrillicWords.push_back(_T("Русские слова"));
PROBLEM: As seen in the debugging result below, the Cyrillic word is not correctly set. How do I assign a Cyrillic word to a variable of type CString
?