title: Virtual key codes
body: <p>I have a c++ console program. Ho can I simulate the "é" character ? 
  Code:</p>
  
  <pre><code>// Set up a generic keyboard event.
  ip.type = INPUT_KEYBOARD;
  ip.ki.wScan = 0; // hardware scan code for key
  ip.ki.time = 0;
  ip.ki.dwExtraInfo = 0; 
  ip.ki.wVk = 0x45; //e
  ip.ki.dwFlags = 0;
  SendInput(1, &amp;ip, sizeof(INPUT));
  ip.ki.dwFlags = KEYEVENTF_KEYUP;
  SendInput(1, &amp;ip, sizeof(INPUT));
  </code></pre>
  
  <p>How do I convert it to the "é" instead of "e"?</p>
  
  <p>Thanks.</p>