Message363506
with open(filename, "rt") as csvfile:
csv_reader = csv.DictReader(csvfile, delimiter=csv_delimiter)
filednames = csv_reader.fieldnames
In Python 3.8 csv expects utf-8 encoded files but apperently doens't read the header with utf-8 format.
If the csv file has an header named 'Französisch' it will be saved as 'Französisch'. |
|
Date |
User |
Action |
Args |
2020-03-06 13:41:31 | sparan | set | recipients:
+ sparan |
2020-03-06 13:41:31 | sparan | set | messageid: <1583502091.92.0.330932178287.issue39876@roundup.psfhosted.org> |
2020-03-06 13:41:31 | sparan | link | issue39876 messages |
2020-03-06 13:41:31 | sparan | create | |
|