[ad_1]
Use json module to help you solve different Unicode.
import json
a="\ud83d\udc95"
m = json.dumps({"k": a})
print(json.loads(m)["k"]) # ?
[ad_2]
solved How to decode javascript unicode string in python?
[ad_1]
Use json module to help you solve different Unicode.
import json
a="\ud83d\udc95"
m = json.dumps({"k": a})
print(json.loads(m)["k"]) # ?
[ad_2]
solved How to decode javascript unicode string in python?