Skip to content

Commit

Permalink
nerd-fonts: update.py correctly decode ascii chars
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben9986 committed Dec 7, 2024
1 parent ced9790 commit 90240e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/data/fonts/nerd-fonts/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def fetchjson(url):

def storejson(path, obj):
with open(path, "w", encoding="utf-8") as f:
json.dump(obj, f, indent=2)
json.dump(obj, f, indent=2, ensure_ascii = False)
# Needed to satisfy EditorConfig's rules
f.write('\n')

Expand Down

0 comments on commit 90240e6

Please sign in to comment.