摘要: 按uft-8形式编码 a=’hello world’ b=a.encode(encoding=’utf-8’) print(type(a), tyoding=’utf-8’) print(c, type(c)) 按gbk方式编码 x=a.encode(encoding=’gbk’) print(x, 阅读全文
posted @ 2019-06-19 15:33 Vincy_Wang 阅读(3098) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/zhangxinqi/p/9201594.html 阅读全文
posted @ 2019-06-19 15:33 Vincy_Wang 阅读(119) 评论(0) 推荐(0) 编辑