# !/usr/bin/env python # -*- coding: utf-8 -*- import sys reload(sys)
sys.setdefaultencoding('utf-8') import binascii
aa='\xd6\xd0\xb9\xfa\xb9\xa4\xc9\xcc\xd2\xf8\xd0\xd0\xd7\xdc\xd0\xd0\xc7\xe5\xcb\xe3\xd6\xd0\xd0\xc4' print type(aa) print aa print aa.decode('gbk').encode('utf-8')
C:\Python27\python.exe C:/Users/tlcb/PycharmProjects/untitled/rizhiyi/t17.py
<type 'str'>
���������������������
中国工商银行总行清算中心