摘要: 首先要确保eclipse编辑器环境的编码为utf8,这个是大前提;其次如果py文件中含有中文字符的话,需要在py文件中对编码进行声明。1. 修改eclipse编辑器编码a) window->preferences->general->editors->text editors->spelling->encoding->UTF-8b) window->preferences->workspace->text file encoding->UTF-8c) 打开eclipse安装目录->eclipse.ini,末行加上”-Dfi 阅读全文
posted @ 2013-11-09 17:29 hermione820 阅读(321) 评论(0) 推荐(0)