Skip to content

Commit

Permalink
Fix export of the overwrite rules thowing error on Windows with japan…
Browse files Browse the repository at this point in the history
…ese charachters
  • Loading branch information
MikeMoolenaar authored Jul 12, 2022
1 parent 7ca0fd1 commit eec2ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/userExceptionManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,6 @@ def getConfig(self):
def exportUEList(self, fileName): #allow user to save a copy of their list where they want
if not fileName.endswith('.json'):
fileName += '.json'
with open(fileName, 'w') as outfile:
with open(fileName, 'w', encoding='utf-8') as outfile:
json.dump(self.ueList, outfile, ensure_ascii=False)
miInfo('The overwrite rules list has been exported to "' + fileName +'"', level='not')

0 comments on commit eec2ac4

Please sign in to comment.