Language | Library | Name | Type |
---|---|---|---|
C# | CsvHelper | QuoteAllFields | bool |
Go | (stdlib) | N/A | N/A |
Haskell | cassava | Quoting.QuoteAll | enum |
Java | Apache Commons CSV | QuoteMode.ALL | enum |
Python | (stdlib) | QUOTE_ALL | enum |
Ruby | fastercsv | force_quotes | bool |
- QuoteAllFields (CsvHelper.Configuration)
- https://github.com/JoshClose/CsvHelper/blob/master/src/CsvHelper/Configuration/Configuration.cs#L26
private bool quoteAllFields;
- NOT SUPPORTED (The core team seems to respect only RFC, and such specifications are unlikely to be implemented.)
data Quoting
= QuoteNone -- ^ No quotes.
| QuoteMinimal -- ^ Quotes according to RFC 4180.
| QuoteAll -- ^ Always quote.
- QuoteMode.ALL (Enum)
ALL : Quotes all fields.
ALL_NON_NULL : Quotes all non-null fields.
MINIMAL : Quotes fields which contain special characters
NON_NUMERIC : Quotes all non-numeric fields.
NONE
static const StyleDesc quote_styles[] = {
{ QUOTE_MINIMAL, "QUOTE_MINIMAL" },
{ QUOTE_ALL, "QUOTE_ALL" },
{ QUOTE_NONNUMERIC, "QUOTE_NONNUMERIC" },
{ QUOTE_NONE, "QUOTE_NONE" },
{ 0 }
# <b><tt>:force_quotes</tt></b>:: When set to a +true+ value, FasterCSV
# will quote all CSV fields it creates.