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

Gary Gregory edited comment on CSV-103 at 11/27/13 1:19 PM:
------------------------------------------------------------

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.


was (Author: garydgregory):
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)

Reply via email to