Dmitry Timoshkov wrote: >"leanne" <[EMAIL PROTECTED]> wrote: > >>>LRESULT WINAPI DefWindowProcA( HWND hwnd, UINT msg, WPARAM wParam, >>>LPARAM lParam ); >>> >>>case WM_IME_CHAR: >>>charW = wParam; >>>printf("DefWindowProcA WM_IME_CHAR %08x\n", charW); // I got it correct! >>>- 4f60 (unicode of "you" in Chinese) >>> >>>//Is there something wrong here? >>> > >Something really wrong there. You shouldn't receive unicode characters >in the ANSI (DefWindowProcA) message handler. Apparently mapping of >WM_IME_CHAR and friends to/from unicode should be added in windows/winproc.c. > >Just look how it was done for WM_CHAR, and try to add WM_IME_CHAR there. > Thank all for your hints.
Somehow we checked that we run with --winver win2k and we can input Chinese/Japnese without any problems