摘要:
任何除unicode以外的字符集相互转换前都需要先decode成unicode,通过unicode再encode成目标字符集。在Python3.x中encode时会把原字符变成Bytes类型。引用该博客:http://www.cnblogs.com/luotianshuai/p/5735051.ht 阅读全文
posted @ 2017-12-20 23:54 阿骏骏 阅读(182) 评论(0) 推荐(0)
posted @ 2017-12-20 23:54 阿骏骏 阅读(182) 评论(0) 推荐(0)