dest_file.write(contents.decode('utf-16').encode('utf-8')). 5. . Source: stackoverflow.com. python unicode point to utf8 string.
確定! 回上一頁