X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=Storage%2Fdebug-json%2Fpprint-json.py;h=6b9d28056172a3f446b237c679edef06e1dd3ce1;hb=00ddc855d130a8ce37f1efcd00ca225b656fbfce;hp=b90f9f057ab80a88d7cc01b9e4f0881e52798bef;hpb=5b6a905286a97f04db40dad41c69ddb7d6e33da6;p=bookmarks_db.git diff --git a/Storage/debug-json/pprint-json.py b/Storage/debug-json/pprint-json.py index b90f9f0..6b9d280 100755 --- a/Storage/debug-json/pprint-json.py +++ b/Storage/debug-json/pprint-json.py @@ -4,7 +4,7 @@ import sys import json from pprint import pprint -infile = open(sys.argv[1], 'rt') +infile = open(sys.argv[1], 'rt', encoding='utf-8') bkmk_s = infile.read() infile.close()