转换前的中文: 红蜻蜓秋季新款商务正装皮鞋
通过在线工具转换 Unicode 编码:
\u7ea2\u873b\u8713\u79cb\u5b63\u65b0\u6b3e\u5546\u52a1\u6b63\u88c5\u76ae\u978b
JSON 数据:
{
"long_title" => "\u7ea2\u873b\u8713\u79cb\u5b63\u65b0\u6b3e\u5546\u52a1\u6b63\u88c5\u76ae\u978b",
"identify" => 520269578538,
"url" => "https://detail.tmall.com/item.htm?spm=0.0.0.0.IcP2p0&id=520269578538",
"img_url" => "http://7xioz9.com2.z0.glb.qiniucdn.com/20150929221526/ade9b496a7f0f3be85a8910f5b.png",
"price" => 259,
"site" => "红蜻蜓品牌旗舰店",
"site_url" => "https://reddragonfly.tmall.com/",
"tagid" => 1,
"tag" => "男鞋",
"post" => 1,
}
通过浏览器的方式,访问 http://***/test.json,右键查看源代码 Unicode 的部分自动转换成中文。
{
"long_title" => "红蜻蜓秋季新款商务正装皮鞋",
"identify" => 520269578538,
"url" => "https://detail.tmall.com/item.htm?spm=0.0.0.0.IcP2p0&id=520269578538",
"img_url" => "http://7xioz9.com2.z0.glb.qiniucdn.com/20150929221526/ade9b496a7f0f3be85a8910f5b.png",
"price" => 259,
"site" => "红蜻蜓品牌旗舰店",
"site_url" => "https://reddragonfly.tmall.com/",
"tagid" => 1,
"tag" => "男鞋",
"post" => 1,
}
请问,怎么才能把 long_title,显示成 Unicode 格式?