commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Bourg (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CSV-63) CSVPrinter always quotes empty string if it is the first on a line
Date Wed, 14 Mar 2012 22:12:39 GMT

    [ https://issues.apache.org/jira/browse/CSV-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13229686#comment-13229686
] 

Emmanuel Bourg commented on CSV-63:
-----------------------------------

There is also the possibility that the format allows fields to be encapsulated even if it
doesn't require it due to a special character. That's the case of RFC 4180.

We might take into account the value of the {{emptyLinesIgnored}} property of the format.
If empty lines are not ignored, it's safe to not quote the value, otherwise it must be quoted
to ensure the file generated can be read with the same format.

                
> CSVPrinter always quotes empty string if it is the first on a line
> ------------------------------------------------------------------
>
>                 Key: CSV-63
>                 URL: https://issues.apache.org/jira/browse/CSV-63
>             Project: Commons CSV
>          Issue Type: Bug
>          Components: Printer
>            Reporter: Sebb
>
> CSVPrinter always quotes the empty string if it is the first on a line.
> This is inconsistent.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message