Fixed Unicode text input in Windows