I
Immortal Nephi
My source code is in UNICODE format text. Why didn’t wcout display
UNICODE to the console screen properly under Windows XP?
The message reads “6 <= 10”, but ‘<=’ is truly \x2264.
For example
wstring msg = L“6 \x2264 10”; // wstring holds UNICODE
wcout << msg << endl;
The screen only displays “6 “ and the rest characters do not
display. I think that wcout checks for null terminator before \x2264
and it stops to display.
Any clue?
UNICODE to the console screen properly under Windows XP?
The message reads “6 <= 10”, but ‘<=’ is truly \x2264.
For example
wstring msg = L“6 \x2264 10”; // wstring holds UNICODE
wcout << msg << endl;
The screen only displays “6 “ and the rest characters do not
display. I think that wcout checks for null terminator before \x2264
and it stops to display.
Any clue?