Redis
 sql >> Database >  >> NoSQL >> Redis

Unicode in Python

Quest'ultimo sembra json, prova prima a decodificarlo:

import json

resp = '{"Info": "8\u6298", "Name": "\u5bb6\u4e50\u798f"}'
print json.loads(resp)

## {u'Info': u'8\u6298', u'Name': u'\u5bb6\u4e50\u798f'}