Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

read json file python utf8

with open('keys.json', encoding='utf-8') as fh:
    data = json.load(fh)

print(data)
# from stackoverflow : https://stackoverflow.com/questions/46408051/python-json-load-set-encoding-to-utf-8
 
PREVIOUS NEXT
Tagged: #read #json #file #python
ADD COMMENT
Topic
Name
3+8 =