Breaking up (lines) is hard to do

227 · · Aug. 10, 2026, 7:23 p.m.
Summary
This blog post delves into the complexities of handling line breaks in text processing, particularly in Python. It discusses the history of line break representations from ASCII to Unicode, highlighting the various control characters and code points that signify new lines across different systems. The author reviews Python's approach to handling these line breaks, including the nuances of different character sets and Python's implementation of the `splitlines()` function, which recognizes ten different code points that indicate line breaks.