We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bda7d6b commit 60a3d93Copy full SHA for 60a3d93
xmltojson.py
@@ -89,7 +89,7 @@ def walktojson(self, elem):
89
continue
90
91
print("converting " + fullname + " to " + newname)
92
- doc = w.makedoc(open(fullname).read())
+ doc = w.makedoc(open(fullname, encoding='utf-8').read())
93
obj = w.walktojson(doc)
94
open(newname, 'w').write(json.dumps(obj,indent=2))
95
elif singleFile:
0 commit comments