title: How can I translate what we get in the KeyDown event to a Unicode character?
body: <p>The <strong>KeyDown</strong> event on a TextBox (for example) will process the keyboard event and update the control <em>before</em> the <strong>CharacterReceived</strong> event is fired on the <strong>CoreWindow</strong> (in fact, it will do it <em>before</em> the <strong>KeyDown</strong> event is fired on the <strong>CoreWindow</strong> as well). The TextBox and other controls also doesn't have any <strong>CharacterReceived</strong> event.</p>
  
  <p>Because of this it is necessary to handle the <strong>TextBox::KeyDown</strong> event to perform filtering or other processing of the keyboard events. </p>
  
  <p>The <strong>KeyDown</strong> event seems to be a direct mapping to the Win32 <strong>WM_KEYDOWN</strong> message, as it gives us the scancode of the keyboard key pressed and a few other things. In WPF and Win32, we'd use the <strong>MapVirtualKey()</strong> function to translate the event information to a unicode character.</p>
  
  <p>How do I do this in Windows RT?</p>