fix chinese output bug on windows