Closed weasellin closed 6 years ago
Without passing the encoding/charset parameter to csv.reader, the following exception will be raised when trying to parse non utf-8 encoded csv.
encoding
charset
csv.reader
rest_framework.exceptions.ParseError: CSV parse error - 'utf-8' codec can't decode byte 0x83 in position 0: invalid start byte
Beautiful.
Without passing the
encoding
/charset
parameter tocsv.reader
, the following exception will be raised when trying to parse non utf-8 encoded csv.