add: save using utf8 encoding

This commit is contained in:
sadorowo 2024-02-25 19:43:20 +01:00
parent deae9860fe
commit a2079a766c

View File

@ -158,7 +158,7 @@ def process(arguments):
remove_duplicates(playlist)
# save playlist
with open(arguments.input, "w+") as f:
with open(arguments.input, "w+", encoding="utf-8") as f:
f.write(playlist.to_m3u_plus_playlist())
print("All done!")