diff --git a/plex2letterboxd/plex2letterboxd.py b/plex2letterboxd/plex2letterboxd.py index 524da60..3559c0d 100644 --- a/plex2letterboxd/plex2letterboxd.py +++ b/plex2letterboxd/plex2letterboxd.py @@ -47,7 +47,7 @@ def getImdbId(movie): def write_csv(sections, output, args): """Generate Letterboxd import CSV.""" - with open(output, 'w', newline='') as f: + with open(output, 'w', newline='', encoding='utf-8') as f: writer = csv.writer(f) writer.writerow(['Title', 'Year', 'imdbID', 'Rating10', 'WatchedDate'])