摘要: 这两天在纠结一份代码, 彻底解决后把之前遇到的相关问题整理一份出来,一来自己理清思路,一来在网上有什么错误也会被提前发现。1. 源代码级别REF: PEP 0263 -- Defining Python Source Code Encodings Python will default to ASCII as standard encoding if no other encoding hints are given. To define a source code encoding, a magic comment must be placed into the source files . 阅读全文
posted @ 2012-09-28 16:59 阿毛小猪 阅读(3133) 评论(0) 推荐(0) 编辑