# !/usr/bin/env python # -*- coding: utf-8 -*- import sys reload(sys)
sys.setdefaultencoding('utf-8') import binascii
aa='xd6xd0xb9xfaxb9xa4xc9xccxd2xf8xd0xd0xd7xdcxd0xd0xc7xe5xcbxe3xd6xd0xd0xc4' print type(aa) print aa print aa.decode('gbk').encode('utf-8')
C:Python27python.exe C:/Users/tlcb/PycharmProjects/untitled/rizhiyi/t17.py
<type 'str'>
���������������������
中国工商银行总行清算中心