In Windows, the right Alt key is used as an AltGr key with international keyboard layouts, including English – United States International. In some keyboard layouts, certain normal ASCII characters need the AltGr key. For example, the Turkish Q keyboard layout uses AltGr+7 for '
{' (left wavy brace) and AltGr+0 for '}' (right wavy brace). The shell is basically unusable with those keyboard layouts if the AltGr key is treated as a regular Alt key. My current code for handling Meta keys in the shell doesn't work with these international keyboard layouts. This issue was brought to my attention by a question on StackOverflow raised by a tester of our nightly builds.