python3默认字符编码_python字符编码与转码
python 2.x 字符编码与转码打印系统默认编码格式import sysprint(sys.getdefaultencoding())UTF-8 转 gbk方式:utf-8--转成--unicode--转成--gbka = "你好"print autf8_to_unicode = a.decode("utf-8") #utf-8转unicodeprint utf...