5 ms·
> platform-dependent. It's 2024 and we still can't all agree on line endings. Mac vs Win vs Unix...
by hermitdev 2y ago
> platform-dependent.
It's 2024 and we still can't all agree on line endings. Mac vs Win vs Unix...
- Y-bar 2y agoMac OS and Unix agreed about twenty years ago to use the same ending: https://superuser.com/a/439443 https://superuser.com/a/439443
- Dylan16807 2y agoBy which time XP was already in the middle of releasing, so it was too late to get Windows on board. It's too bad, with a bit more planning and an earlier realization that Unicode cannot in fact fit into 16 bits then Windows might have used UTF-8 internally.
- jmb99 2y agoUnless I’m mistaken, Rhapsody (released 1997) used LF, not CR. At that point it was pretty clear Mac was moving towards Unix through NeXTSTEP, meaning every OS except windows would be using LF. Microsoft would’ve had around 6 years before the release of XP, and probably would’ve had time to start the transition with Win2K at the end of 1999.
- mixmastamyk 2y agoEvery OS except the one that had 95% market share in late 90s. Apple was only propped up “Weekend at Bernies” style to appease regulators.
- account42 2y ago> and an earlier realization that Unicode cannot in fact fit into 16 bits The Unicode consortium already realized it when they decided on Han unification, they just didn't accept it yet.
- Longhanks 2y agoIt's 2024, everything but Windows is UTF-8 \n since twenty years.
- int_19h 2y agoLinux was definitely not uniformly UTF-8 twenty years ago. It was one of the many available locales, but it was still common to use other encodings, and plenty of software didn't handle multibyte well in general.