首页 > 解决方案 > 如何解码编码为 \uXXXX 的 Unicode 转义序列表情符号?

问题描述

标签: pythonjsoninstagramemojipython-unicode

解决方案


Try

print(('\u00e2\u009c\u008c\u00f0\u009f\u0096\u00a4\u00f0\u009f\u008d\u0095\u00f0\u009f\u008e\u00b6\u00f0\u009f\u00a4\u00af'.encode('latin-1').decode('utf-8')))

output:


推荐阅读