Switch to translating keystrokes using ToUnicodeEx rather than
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 20 Jul 2013 11:31:24 +0000 (11:31 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 20 Jul 2013 11:31:24 +0000 (11:31 +0000)
commit96af276d576750495ff35b4a7bc38e8e4703b960
tree88ad7f10c19e89c46060120d7a4b3fae7fad9508
parentb62348ce5b869bfc2427c2d4b0eb57d7f3e1f3b2
Switch to translating keystrokes using ToUnicodeEx rather than
ToAsciiEx, where possible.

This enables support for keys which generate Unicode characters that
aren't in the system code page, which seems to me like a perverse way
for Windows to have set up the system code page but apparently does
happen, e.g. (I'm told) U+0219 and U+021B on Romanian keyboards.

Patch mostly due to Andrei Damian-Fekete.

git-svn-id: svn://svn.tartarus.org/sgt/putty@9942 cda61777-01e9-0310-a592-d414129be87e
windows/window.c