mtgjson / mtgsqlive

MTGJSON build scripts to generate alternative data formats
https://mtgjson.com
MIT License
54 stars 32 forks source link

Force type of json file to utf-8 #14

Closed hpatricio closed 5 years ago

hpatricio commented 5 years ago

I've had to force the open command to utf-8, it was not reading the file in windows 10. My python setup is anaconda. i've had to change line 202 to the following: "json_data = json.load(input_file.open("r", encoding='utf-8'))"

ZeldaZach commented 5 years ago

If you'd like to PR the encoding change, would be awesome :)

If not, i'll get around to it soon! Appreciate the ticket

ZeldaZach commented 5 years ago

Addressed at some point, it's in now :)