Added "\r" to the valid line terminators. ...#116
Added "\r" to the valid line terminators. ...#116rickowens wants to merge 1 commit intohaskell:masterfrom
Conversation
"\r" still exists in many places in the wild, mainly because of Mac OS. For instance we recently hit a case where Gmail would export "\r" delimited CSV when exporting contacts.
|
Hmm, it seems like this may break existing users' code in non-obvious ways. It seems like if you need to handle these cases saying so explicitly may be the better option. |
Possibly yes. On the other hand, if the purpose of this function is to provide an easy eol catchall, then code that relies on this already is broken, and this change may cause more subtle fixes than it will breakages? Also, the future where a developer has to continually explain why they are using In the case where you are relying on third-party libraries that rely on If the purpose of |
"\r" still exists in many places in the wild, mainly because of Mac
OS. For instance we recently hit a case where Gmail would export "\r"
delimited CSV when exporting contacts.