Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python json save utf-8 symbols

>>> json_string = json.dumps("ברי צקלה", ensure_ascii=False).encode('utf8')
>>> json_string
b'"xd7x91xd7xa8xd7x99 xd7xa6xd7xa7xd7x9cxd7x94"'
>>> print(json_string.decode())
"ברי צקלה"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #json #save #symbols
ADD COMMENT
Topic
Name
9+5 =