Automation and Unicode text input under Windows

If you’ll ever try to use automation for testing globalization readiness on applications you are going to discover that the keyboard input API does not have any function for entering Unicode texts. If you’ll try to use VkKeyScan for converting an Unicode character to a virtual key - in order to map it to a keystroke - you’ll discover that the Windows Keyboard Input API will return you nothing because current keyboard layout is not able to produce the requested character.