fixed unicode input on windows