'gbk' codec can't encode character '\xa5' in position 4546: illegal multibyte sequence错误解决

sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='gb18030')

原文 http://blog.csdn.net/jim7424994/article/details/22675759
posted @ 2017-10-23 23:12  不当咸鱼  阅读(3868)  评论(0)    收藏  举报