On 04.04.2016 00:07, Martin Krejcirik wrote: > Using UTF8 console via C api is broken in many ways on Windows. The > problem is in C library. The only sensible way is to use Windows API. I'm under the impression that ReadFile is a Windows API function. Is that not so? If it isn't, what is the corresponding Windows API function?