I'm trying to export a csv file with utf-8 but csv.writer doesn't seems to have an encoding parameter .... any idea ?
import csv
response = HttpResponse(content_type='text/csv')
response['Content-Disposition'] = 'attachment; filename=data.csv'
writer = csv.writer(response, delimiter=';')
for book in books:
writer.writerow([book.author, book.title])
The string journée
appears as journ@~e