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-62) Should CSVFormat.lineSeparator default to "\r\n" even on Unix systems?
Date Wed, 14 Mar 2012 19:06:42 GMT

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

Emmanuel Bourg commented on CSV-62:
-----------------------------------

Yes this is specified by RFC 4180:

http://tools.ietf.org/html/rfc4180

{quote}
   1.  Each record is located on a separate line, delimited by a line break (CRLF).  For example:

       aaa,bbb,ccc CRLF
       zzz,yyy,xxx CRLF
{quote}
                
> Should CSVFormat.lineSeparator default to "\r\n" even on Unix systems?
> ----------------------------------------------------------------------
>
>                 Key: CSV-62
>                 URL: https://issues.apache.org/jira/browse/CSV-62
>             Project: Commons CSV
>          Issue Type: Bug
>            Reporter: Sebb
>
> The CSVFormat lineSeparator field defaults to "\r\n" which is OK for Windows, but probably
not suitable for Un*x systems.
> It should probably default to the local line separator.

--
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