Bug fixing: printing unicodes to stdout crashed on Windows. First patch