'gbk' codec can't encode character 'xa5' in position 4546: illegal multibyte se(

Posted 不当咸鱼

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了'gbk' codec can't encode character 'xa5' in position 4546: illegal multibyte se(相关的知识,希望对你有一定的参考价值。

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

原文 http://blog.csdn.net/jim7424994/article/details/22675759

以上是关于'gbk' codec can't encode character 'xa5' in position 4546: illegal multibyte se(的主要内容,如果未能解决你的问题,请参考以下文章