CSV dialect options
Configures the CSV format: delimiter, quote character, quoting policy, line ending, UTF-8 BOM and decimal separator. Different regional spreadsheet tools expect different conventions, and these options make one export usable everywhere.
Planned. This page shows the specification from issue #200. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
Grid with accented names and decimal amounts. A raw text preview panel shows the first 10 lines of output.
Expected behavior
The preview updates live as options change. The downloaded file is byte-identical to the preview text.
Planned API surface
csv.delimitercsv.quoteCharcsv.quoteModecsv.lineEndingcsv.includeBomcsv.decimalSeparatorAcceptance criteria
- The delimiter accepts any single character, and tab produces TSV. (pending)
- quoteMode 'minimal' quotes only fields that contain the delimiter, the quote character or a newline. (pending)
- Embedded quote characters are doubled. (pending)
- includeBom:true prefixes the bytes EF BB BF. (pending)
- lineEnding is applied consistently, including to the final line. (pending)
- decimalSeparator ',' changes number output and forces quoting if it collides with the delimiter. (pending)