[ad_1]
Add the arg “encoding = ‘utf-8′”
with open(path_to_save, "wb", encoding="utf-8") as save_file:
save_file.write(data)
3
[ad_2]
solved Python 3.6: How to save file with unicode/utf-8 filename? [closed]
[ad_1]
Add the arg “encoding = ‘utf-8′”
with open(path_to_save, "wb", encoding="utf-8") as save_file:
save_file.write(data)
3
[ad_2]
solved Python 3.6: How to save file with unicode/utf-8 filename? [closed]