返回顶部
摘要: python中sys.setdefaultencoding('utf-8')的作用 在python中,编码解码其实是不同编码系统间的转换,默认情况下,转换目标是Unicode,即编码unicode→str,解码str→unicode,其中str指的是字节流,而str.decode是将字节流str按给 阅读全文
posted @ 2020-08-23 17:48 Be-myself 阅读(1222) 评论(0) 推荐(0) 编辑
levels of contents 点击查看具体代码内容