I'm testing django using file uploads. Was facing a strange issue, when despide which encoding I choose, I'm always getting same error message that pandas is trying to decode with UTF-8
pd.read_csv(file, encoding="cp1257")
getting
*** UnicodeDecodeError: 'utf-8' codec can't decode byte 0xeb in position 6: unexpected end of data
Same for various different encodings, engines.
file? Make a minimal reproducible example