You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2013/11/27 14:20:36 UTC

[jira] [Commented] (CSV-103) allow other line delimiters besides \n

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

Gary Gregory commented on CSV-103:
----------------------------------

You can use org.apache.commons.csv.CSVFormat.withRecordSeparator(String) from trunk now.
If that works for you, close this issue, otherwise let us know.

> allow other line delimiters besides \n
> --------------------------------------
>
>                 Key: CSV-103
>                 URL: https://issues.apache.org/jira/browse/CSV-103
>             Project: Commons CSV
>          Issue Type: Improvement
>            Reporter: Thomas Walzer
>            Priority: Minor
>
> We have an application that uses commons-csv (embedded into apache-camel) to generate csv files.
> It would be extremely helpful to allow other (configurable) line delimiters (eg "\r\n", "\r", etc). As far as I understand the csvWriter appends "\n" hardcoded. We have our application running on Windows and the receiver of the data need \r\n as delimiters.
> We can work around this problem but it would nevertheless be a nice feature to be able to configure the "line delimiter".



--
This message was sent by Atlassian JIRA
(v6.1#6144)