随笔分类 -  脚本语言

摘要:在Windows下使用MinGW64,或者TDM64-GCC进行编译,本来以为make mingw就行了,没想到出了点小问题,让人费解:referhttp://lua-users.org/lists/lua-l/2006-12/msg00255.html解决方法也是太简单了:* build$ cd ... 阅读全文
posted @ 2014-10-27 23:45 红尘一人 阅读(1192) 评论(0) 推荐(1)
摘要:python3 print输出unicode字符时出现以下错误:UnicodeEncodeError: 'gbk' codec can't encode character '\u30fb解决方法:sys.stdout = io.TextIOWrapper(sys.stdout.buffer, er... 阅读全文
posted @ 2014-08-08 11:16 红尘一人 阅读(986) 评论(0) 推荐(0)