win32_utf8
win32_utf8 copied to clipboard
Transparent UTF-8 support for native Win32 ANSI applications
MSVCRT functions are separated into ANSI and UNICODE either.
If I'm trying to make a program that can execute both in console and in a GUI, like if I use a command-line argument in the shortcut "-console" that launches...
At here https://github.com/thpatch/win32_utf8/blob/master/src/user32_dll.c#L45 I find it's very strange that you just copy the lpfnWndProc without doing anything more. A WindowProc callback can receive certain messages (such as [WM_CREATE](https://msdn.microsoft.com/en-us/library/windows/desktop/ms632619(v=vs.85).aspx)) which have...
@zero318 This code tends to be called quite a lot - which is a good thing because it fixes this bug everywhere. But that also means that performance matters. You're...