python字符编码的一些理解
摘要:
#!/usr/bin/env python#coding:utf-8str = '中国'print type(str)print strstr = u'中国'print type(str)print strstr = '中国'.decode('UTF8')print type(str)print s... 阅读全文
posted @ 2015-09-28 23:28 ferraborghini 阅读(312) 评论(0) 推荐(0)
浙公网安备 33010602011771号