Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.2
-
None
-
None
-
None
Description
Commons CSV with CSVFormat.RFC4180 writes empty 4-column records as
"",,,
instead of
,,,
It puts double quotes for first column, and no any chars for rest columns.
This behavior are not described in RFC specification. RFC spec. tells that only if column contains double quotes, CRLF and comma then it should be escaped by double quotes. But there are no point to escape with double quotes empty values.
If i have, for example 5-column empty record then it should looks following:
,,,,
(four commas)
Attachments
Issue Links
- is related to
-
CSV-63 CSVPrinter always quotes empty string if it is the first on a line
- Open