diff --git a/macroetym/main.py b/macroetym/main.py index 2ef0998..0bda661 100644 --- a/macroetym/main.py +++ b/macroetym/main.py @@ -35,7 +35,7 @@ # Parse the CSV file. etymdict = {} etymwn = resource_filename(__name__, 'etymwn-smaller.tsv') -with open(etymwn) as csvfile: +with open(etymwn, encoding="utf-8") as csvfile: csvreader = csv.reader(csvfile, delimiter='\t') for line in csvreader: if line[0] in etymdict: