A CSV import can have the right number of columns and still contain damaged text. The damage may happen before the CSV parser receives a string. JavaScript's TextDecoder replaces malformed byte sequences by default.

Source: [Dev.to](https://dev.to/__be2942592/reject-malformed-utf-8-before-it-reaches-your-csv-parser-mbk)

Sponsored