Dne 4. 4. 2016 v 0:11 ag0aep6g napsal(a):
On 04.04.2016 00:07, Martin Krejcirik wrote: 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?
Sorry, I missed that in your post. Anyway, after years of trying, I've resorted to always converting to/from OEMCP.
You can use fromMBSz, toMBSz, GetConsoleCP, GetConsoleOutputCP functions for that.
-- mk
