Not A Real Warzone

wchar_t

Using wide characters and the unicode enabled functions is Win32, you can display proper texts in the cmd shell regardless of codepage settings.

wchar_t buffer[16];
StringCchCopyW(buffer, 16, L"Őrß");
HANDLE std = GetStdHandle(STD_OUTPUT_HANDLE);
WriteConsoleW(std, buffer, wcslen(buffer), NULL, NULL);
CloseHandle(std);