Subject: bug#10299: Emacs doesn't handle Unicode characters in keyboard layout on MS Windows

From: Eli Zaretskii <[email-masked]>
Date: Thu, 15 Dec 2011 15:16:57 +0200

> Date: Thu, 15 Dec 2011 12:11:18 +0100
> From: Joakim Hårsman <[email-masked]>
> Cc: [email-masked], [email-masked], [email-masked]
> 
> Ok, I'll try to build Emacs on Windows and see if I can set a
> breakpoint and look at the message Emacs is getting.

Thanks.

For the record, my guess is that you will see Emacs getting a WM_CHAR
messages with character codes below 256, i.e. characters encoded in
the current ANSI codepage.  This is because in w32fns.c:w32_init_class
we call the ANSI variant of RegisterClass (since UNICODE is not
defined), which tells Windows that we want messages with text in the
ANSI character set.