Skip to content
Advertisement

Tag: mbcs

how to read csv files with mbcs codec in Python on Linux?

I’m trying to read CSV files with Western Europe (windows) encoding This code works well on Windows but not on Linux 18.04. (Error: unknown encoding: mbcs) Indeed, in the codecs python documentation, we have the information: is there another way/name to decode my files in python on Linux? (I have thousand of files so I can’t save as on Excel)

Advertisement