[
https://issues.apache.org/jira/browse/CSV-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eldar Agalarov updated CSV-165:
-------------------------------
Summary: Empty record: unnecessary escaping with double quotes (was: Empty
record: leading double quotes)
> Empty record: unnecessary escaping with double quotes
> -----------------------------------------------------
>
> Key: CSV-165
> URL: https://issues.apache.org/jira/browse/CSV-165
> Project: Commons CSV
> Issue Type: Bug
> Reporter: Eldar Agalarov
> Priority: Minor
>
> 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 quote. But there are no point to escape with double quotes
> empty value.
> If i have, for example 5-column empty record then it should looks following:
> ,,,,
> (four commas)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)