Skip to content

Commit

Permalink
SPMI: Read csv files output by superpmi as UTF8 (dotnet#98760)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobbotsch committed Feb 21, 2024
1 parent 3cfdff6 commit 3149a75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/scripts/superpmi.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ def create_artifacts_base_name(coreclr_args, mch_file):
return artifacts_base_name

def read_csv(path):
with open(path) as csv_file:
with open(path, encoding="utf-8") as csv_file:
reader = csv.DictReader(csv_file)
return list(reader)

Expand Down

0 comments on commit 3149a75

Please sign in to comment.