fix print utf-8 string on windows