]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Turn the Windows PuTTY main window into a Unicode window.
authorSimon Tatham <anakin@pobox.com>
Mon, 27 Jul 2015 19:06:02 +0000 (20:06 +0100)
committerSimon Tatham <anakin@pobox.com>
Mon, 27 Jul 2015 19:06:02 +0000 (20:06 +0100)
commit67e5ceb9a8e6bc20fa0e0cf82ee9f89582e94112
treea53a752d8aaa555576a4db7e9d8c97ffdc763d98
parent7762d7122609207059cf5cf58fb2b9c2de98dd36
Turn the Windows PuTTY main window into a Unicode window.

This causes WM_CHAR messages sent to us to have a wParam containing a
16-bit value encoded in UTF-16, rather than an 8-bit value encoded in
the system code page.

As far as I can tell, there aren't many other knock-on effects - e.g.
you can still interact with the window using ordinary char-based API
functions such as SetWindowText, and the Windows API will do the
necessary conversions behind the scenes. However, even so, I'm half
expecting some sort of unforeseen bug to show up as a result of this.
windows/window.c