Implement UTF8 character input on windows targets