You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The byLine operator is platform dependent and therefore a bit unreliable #35
I'm parsing a CSV file, and the byLine considers the whole file one long line.
The problem seems to be that the file lines use only CR line ends. (I don't know where that file came from)
The code looks like this:
public static Observable byLine(Observable source) {
return split(source, System.getProperty("line.separator"));
}
Using the system property for line separator isn't a very good idea, I think. It works when the file originates from the same platform, but it is a bit of a bugger to debug, and it can cause a 'works on my system' scenario.
I'd say just use the split and get rid of the byLine? Or add an explicit separator parameter (but then it is identical to split)
Activity
Crystark commentedon Feb 26, 2016
Indeed, see #31 (which references #30)
I'm having some problems with the solution I used then because of #33.
abersnaze commentedon Mar 17, 2016
@flyaruu and @Crystark can this issue be closed?
Crystark commentedon Mar 17, 2016
Looks like it can to me but i'll let @flyaruu confirm
abersnaze commentedon Dec 12, 2016
Closing for now reopen if problem continues.