fix the default operating system encoding is not utf8.