把字符串转成中文
"2012%u5E74%u9752%u5C9B%u56FD%u9645%u5564%u9152%u8282%u653B%u7565"
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> aText = "2012%u5E74%u9752%u5C9B%u56FD%u9645%u5564%u9152%u8282%u653B%u7565"
>>> bText = aText.replace('%', '\\')
>>> cText = bText.decode('unicode-escape')
>>> dText = cText.encode('gb2312')
>>> print dText
2012年青岛国际啤酒节攻略
>>>