Re: [CSV] Inconsistent record separator behavior

2018-08-24 Thread Benedikt Ritter
using | to separate > the > >> >> rows, > >> >> >> and , for columns. > >> >> >> > >> >> > > >> >> > I didn't know that there are formats that don't use a new line as &g

Re: [CSV] Inconsistent record separator behavior

2018-08-23 Thread sebb
separator > that are not new lines. So maybe CSVPrinter.printComment(String) should not > scan for CR and LF but for the record separator. > Makes sense. >> >> Perhaps we could just document the method to warn that using anything >> other than CR, LF or CRLF will produce an output file that is n

Re: [CSV] Inconsistent record separator behavior

2018-08-23 Thread Benedikt Ritter
> >> > https://stackoverflow.com/questions/29903202/how-to-read-csv-on-python-with-newline-separator > >> >> > >> >> > >> >> Not sure if I understood the problem well, but in case it makes > sense... > >> >> my suggestion would be to perhaps confirm if we could change > >> >>

Re: [CSV] Inconsistent record separator behavior

2018-08-23 Thread sebb
oduce an output file that is not parseable? > Regards, > Benedikt > > >> >> > Cheers >> > >> > >> > From: Benedikt Ritter >> > To: Commons Developers List ; >> brunodepau...@yahoo.com.br >>

Re: [CSV] Inconsistent record separator behavior

2018-08-22 Thread Benedikt Ritter
or even desirable - here. > okay, but wouldn't you expect that you can use a CSVFormat instance to read a file that you created with it? This is currently not the case. Regards, Benedikt > > > Cheers > > > > ________ > >

Re: [CSV] Inconsistent record separator behavior

2018-08-22 Thread Bruno P. Kinoshita
Bruno From: sebb To: Commons Developers List ; Bruno P. Kinoshita Sent: Thursday, 23 August 2018 11:23 AM Subject: Re: [CSV] Inconsistent record separator behavior On 23 August 2018 at 00:01, Bruno P. Kinoshita wrote: > >>Maybe I'm just not getting it, but it fee

Re: [CSV] Inconsistent record separator behavior

2018-08-22 Thread sebb
e processing a comment, we look out for CR and LF and then > we call println() again. Maybe I'm just not getting it, but it feels pretty > messed up :-) > > Regards, > Benedikt > > > >> >> >> Thanks! >> >> Bruno >> >> >>

Re: [CSV] Inconsistent record separator behavior

2018-08-22 Thread Bruno P. Kinoshita
nt: Thursday, 23 August 2018 7:10 AM Subject: Re: [CSV] Inconsistent record separator behavior Hi Bruno, Am Mi., 22. Aug. 2018 um 15:10 Uhr schrieb Bruno P. Kinoshita : > Hi, > > > Will try to look at the code and give a better answer during the weekend. > But risking a silly ques

Re: [CSV] Inconsistent record separator behavior

2018-08-22 Thread Benedikt Ritter
ing a comment, we look out for CR and LF and then we call println() again. Maybe I'm just not getting it, but it feels pretty messed up :-) Regards, Benedikt > > > Thanks! > > Bruno > > > ________ > From: Benedikt Ritter > To: Com

Re: [CSV] Inconsistent record separator behavior

2018-08-22 Thread Bruno P. Kinoshita
To: Commons Developers List Sent: Tuesday, 21 August 2018 7:13 PM Subject: [CSV] Inconsistent record separator behavior Hi, we have this strange handling of record separator / line endings in CSV: Users can use what ever character sequence they like as a record separator. I could for

[CSV] Inconsistent record separator behavior

2018-08-21 Thread Benedikt Ritter
Hi, we have this strange handling of record separator / line endings in CSV: Users can use what ever character sequence they like as a record separator. I could for example use the ! character to mark the end of a record. Then we have CSVPrinter.printComment(String). This inserts comments into a