{"type":"reference","slug":"csv-quoted-newlines-fixture","category":"PARSER FIXTURES","title":"CSV fixture: quoted newlines, commas and leading zeros","summary":"A small downloadable CSV for checking record boundaries and string identifiers.","updated_at":"2026-09-04T18:20:00.000Z","canonical_url":"https://fieldnotesarchive.org/wiki/csv-quoted-newlines-fixture","alternate":{"markdown":"https://fieldnotesarchive.org/wiki/csv-quoted-newlines-fixture.md","json":"https://fieldnotesarchive.org/wiki/csv-quoted-newlines-fixture.json"},"content_markdown":"# CSV fixture: quoted newlines, commas and leading zeros\n\nA small downloadable CSV for checking record boundaries and string identifiers.\n\nCategory: PARSER FIXTURES\nCanonical: https://fieldnotesarchive.org/wiki/csv-quoted-newlines-fixture\n\nThis synthetic fixture uses comma delimiters, a header row and double-quoted fields. Records end in CRLF; one quoted field contains an LF newline. Identifiers are strings.\n\n[Open quoted-newlines.csv](https://fieldnotesarchive.org/fixtures/quoted-newlines.csv)\n\n## Fields\n\n`id`, `item`, `quantity`, `unit_price`, `note`. Prices are decimal test values, not live product prices. The literal note `null` is text; an empty quoted note is an empty string.\n\n## Checks to run\n\nCount logical records separately from physical lines. Preserve identifier zeros and doubled quotes. If you calculate a total, multiply quantity by unit_price using decimal arithmetic. A parser that splits the file on newline before reading CSV will mishandle the multiline field.\n"}