阅读背景:

python中的编解码攻略

来源:互联网 
str = '中国' 
for code in ['utf-8', 'gbk']:
if str.decode(code, 'ignore')==str.decode(code, 'replace'):if str.dec



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: