{
  "id": 15459345,
  "title": "Reject malformed UTF-8 before it reaches your CSV parser",
  "url": "https://urgent.news/2026/10/18/reject-malformed-utf-8-before-it-reaches-your-csv-parser",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-18T17:56:06.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/__be2942592/reject-malformed-utf-8-before-it-reaches-your-csv-parser-mbk"
  },
  "original_language": "en",
  "account": null,
  "summary": "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. That is useful when displaying imperfect text, but an import workflow may need to reject those bytes instead. Reproduce the difference Run this in a modern browser console or Node.js:…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}