Cannot print non-English text to the Console window
问题 int main() { wcout << L"Русский текст" << endl; wprintf(L"Русский текст\n"); return 0; } This simple program doesn't print anything to the Console window (not even new lines). VC++ 2010 Console Application project. What is wrong? 回答1: According to links pointed to in this blog you need to change the font of the console and also this line: _setmode(_fileno(stdout), _O_U16TEXT); 来源: https://stackoverflow.com/questions/20729870/cannot-print-non-english-text-to-the-console-window