Reading UTF-8 file with codecs in IronPython

孤街浪徒 提交于 2019-12-04 03:19:26

Looks like it could be a bug in how next() handles codecs. Can you please open an issue with the files to reproduce attached?

May be trouble with "rb" parameter, try to use 'r'

f = codecs.open(r"file.csv", "r", "utf-8")
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!