Skip to content
Novus Examples
txt108 B

Fixed-Width Positions File (TXT)

A classic fixed-width text extract with documented column positions — for COBOL-style / mainframe importer tests.

Preview — first 5 linestxt
ID  NAME           AMOUNT
001 Ada Lovelace   001250
002 Ben Garcia     000320
003 Chen Wei       002900

Specifications

Format
fixed-width
Columns
ID(0-3), NAME(4-18), AMOUNT(19-24)
Rows
3

What is a .txt file?

TXT is a plain-text file containing unformatted character data with no styling or structure beyond line breaks. Its interpretation depends on character encoding, most commonly UTF-8, and on line-ending convention. It is the most universal and portable text container.

How to use this file

Use an example TXT to test encoding detection, line-ending (LF versus CRLF) handling, and any tool that reads or streams raw text input.

How to use this file for testing

“Fixed-Width Positions File (TXT)” is a deterministic Novus Examples fixture for CSV parsing, Data import, Encoding detection. Clean and deliberately messy CSVs — quoted commas, embedded newlines, ragged rows, odd delimiters, and encodings.

Documented properties for this file: 3 rows · fixed-width. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

Data fixtures document their exact quirks — delimiters, encodings, null handling, schema, and row counts — in the spec table. Point your parser or importer at the file and assert it handles the documented edge cases; clean and deliberately-messy siblings make before/after diffs straightforward.

Feed the file to your parser and assert it handles the documented quirks — quoted delimiters, embedded newlines, ragged rows, or invalid syntax; the valid↔invalid distinction is labelled in the title.

Generated by generation/data_encodings_wave_c.py. Free for any use, no attribution required — license.