首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VB >

相仿这样的编码,如果还原成真实的文本

2013-01-20 
类似这样的编码,如果还原成真实的文本{pid:8,aid:1322435,reposts_count:0,comments_count:0,i

类似这样的编码,如果还原成真实的文本
{"pid":8,"aid":"1322435","reposts_count":0,"comments_count":0,"id":"127971053360783","created_at":1355545664,"source":{"text":"iPhone\u5ba2\u6237\u7aef","url":"http:\/\/t.qq.com\/client.php?t=iphone\n"},"text":"\/\u5f97\u610f || @weiweideliang: \u518d\u8f6c\u4e00\u6b21\/\u5077\u7b11","type":2,"user":{"profile_image_url":"http:\/\/app.qlogo.cn\/mbloghead\/313b97f9d71570942f6e\/50","id":"weiweideliang","pid":8,"aid":"1322435","screen_name":"\u5a67\u4f36","name":"weiweideliang","verified":"true"},"retweeted_status":{"pid":8,"aid":"1322435","reposts_count":3,"comments_count":5,"id":"118999071767686","created_at":1354941406,"source":{"text":"\u7f8e\u56e2\u56e2\u8d2d\u5ba2\u6237\u7aefiPhone\u7248","url":"http:\/\/www.meituan.com\/mobile\/\n"},"text":"\uff03\u7f8e\u56e2\uff03\uff03\u6c88\u9633\uff03\u53d1\u73b0\u8fd9\u4e2a\u56e2\u8d2d\u5f88\u4e0d\u9519\u54e6\uff01\u4f60\u4e5f\u6765\u770b\u770b\u5427\u3002\u4ec5\u552e26\u5143! \u4e07\u8fbe\u56fd\u9645\u5f71\u57ce\uff1a2D\u7535\u5f71\u79681\u5f20\uff0c\u4e0d\u9650\u65f6\u6bb5 @meituan http:\/\/url.cn\/9HKp1H ","type":1,"thumbnail_pic":"http:\/\/app.qpic.cn\/mblogpic\/604acfd3a16076824472\/120","bmiddle_pic":"http:\/\/app.qpic.cn\/mblogpic\/604acfd3a16076824472\/460","original_pic":"http:\/\/app.qpic.cn\/mblogpic\/604acfd3a16076824472\/2000","user":{"profile_image_url":"http:\/\/app.qlogo.cn\/mbloghead\/a4778ce5684e19bb7d04\/50","id":"sandy101895","pid":8,"aid":"1322435","screen_name":"\u738b\u9e3f","name":"sandy101895","verified":"false"}}},

里面混杂了几种编码方式,怎么样能完整不损坏的恢复成原来的文本呢?试了几种方法发现不是太烦琐就是有bug
[解决办法]
UnUnicode这个函数没见过

热点排行