#include #include #include #include int wmain (int argc, WCHAR *argvW[]) { DWORD nOut; WCHAR wsUnicodeBuffer[] = L"ABCxyz ©αβδµÀÆÖÞßéöÿŠȘŸžĐǫǯƀƦțƋĶŴłŦ Թڅऌএਏઍשಒລチ ıntəˈnæʃənəl шрифт\n"; puts("WinAPI:"); WriteConsoleW(GetStdHandle(STD_OUTPUT_HANDLE), wsUnicodeBuffer, wcslen(wsUnicodeBuffer), &nOut, NULL); puts("CRT:"); //_putws(wsUnicodeBuffer); //wprintf(L"%s", wsUnicodeBuffer); fputws(wsUnicodeBuffer, stdout); return 0; }