摘要: 基于python2.7中的字符串: unicode——》编码encode('utf-8')——》写入文件 读出文件——》解码decode('utf-8')——》unicode 在使用unicode的时候,必须注意以下的原则: 1、 程序中出现字符串的地方加前缀u,表示为unicode类型 2... 阅读全文
posted @ 2016-04-08 22:49 KEL 阅读(10849) 评论(0) 推荐(0) 编辑