It is worse… Windows use OEM code pages for console applications (for US OEM is 437, the original DOS code page).
You can set the code page to utf8 from the terminal by running chcp 65001
.
Programmatically you can set the output to utf-8 by calling SetConsoleOutputCP
(See: The Incredible Unicode Mess - #31 by squeek502)