Grapheme Cluster Break - Carriage Return

Unicode Version 18.0

Carriage Return is a control character that forces a return to the start of the current line, and in the context of text segmentation, it acts as a hard break that prevents any grapheme cluster from crossing it. This means that a carriage return always terminates a cluster, so no combining marks or other characters can attach to it, and it cannot cluster with any following character. It also interacts with line feed, where a CR followed by LF is treated as a single unit in some segmentation contexts, but for grapheme cluster breaking, the CR itself stands alone and never merges with adjacent characters, ensuring that line breaks are unambiguous and that each CR marks a distinct boundary in the text.

1-1 of 1 results