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
In scala.io.Source for the getLine and getLines methods the end of line delimiter is hard coded to '\n'. Not all systems use '\n'. Excel csv export for mac unfortunately uses '\r' for eol, breaking Source.
getLine also apparently chops only the '\n' character, which will leave '\r' when '\r\n' is used for eol.
I suggest a lineDelimiter property on src.
The text was updated successfully, but these errors were encountered:
In scala.io.Source for the getLine and getLines methods the end of line delimiter is hard coded to '\n'. Not all systems use '\n'. Excel csv export for mac unfortunately uses '\r' for eol, breaking Source.
getLine also apparently chops only the '\n' character, which will leave '\r' when '\r\n' is used for eol.
I suggest a lineDelimiter property on src.
The text was updated successfully, but these errors were encountered: