In my code I tried to create massive of 4 bite chars, where every char contain a Cyrillic letter.
wchar_t OUT_STRING[4] = { L'т',L'л',L'о',L'р' };
All in normal with this and I have expected output. It's only test, in real I need to convert element from string to the same type like in OUT_STRING; I tried to use something like this:
wchar_t OUT_STRING[4] = { (wchar_t)'т',L'л',L'о',L'р' };
But it didn't work and in output I have a rectangle.