Skip to content

Commit

Permalink
fix(export): Windows sometimes needs output encoding specified
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-martian committed Sep 20, 2024
1 parent 715f27c commit 984dca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rebabel_format/processes/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ def run(self):
self.mappings[0], self.mappings[1],
self.conf, self.other_args,
query_updates=self.query_updates)
with open(self.outfile, 'w') as fout:
with open(self.outfile, 'w', encoding='utf-8') as fout:
writer.write(fout)

0 comments on commit 984dca1

Please sign in to comment.