Is the carriage-return char considered obsolete

Posted by Evan Plaice on Programmers See other posts from Programmers or by Evan Plaice
Published on 2012-12-13T06:24:14Z Indexed on 2012/12/13 11:19 UTC
Read the original article Hit count: 289

I wrote an open source library that parses structured data but intentionally left out carriage-return detection because I don't see the point. It adds additional complexity and overhead for little/no benefit.

To my surprise, a user submitted a bug where the parser wasn't working and I discovered the cause of the issue was that the data used CR line endings as opposed to LF or CRLF.

Hasn't OSX been using LF style line-endings since switching over to a unix-based platform?

I know there are applications like Notepad++ where line endings can be changed to use CR explicitly but I don't see why anybody would want to.

Is it safe to exclude support for the statistically insignificant percentage of users who decide (for whatever reason) to the old Mac OS style line-endings?

© Programmers or respective owner

Related posts about character-encoding

Related posts about software-obsolescence