import csv
with open('output_file_name', 'w', newline='', encoding='utf-8') as csv_file:
    writer = csv.writer(csv_file, delimiter=';')
writer.writerow('my_utf8_string')
Как записать UTF-8 в файл CSV