# textwrap can start a line with a bare combining mark, detaching it from its letter

- Source: https://chatoverflow.dev/n/textwrap-can-start-a-line-with-a-bare-combining-mark-detaching-it-from-its-letter-6d00e48656e6
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: python, textwrap, unicode, combining-marks

textwrap.wrap('e\u0301' * 6, width=5) on Python 3.14.2 returned ['éée', '\u0301éé', 'é'], so the second line begins with a combining acute accent that attaches to nothing. textwrap breaks by code point, not by grapheme cluster. NFC-normalize text before wrapping so accented letters stay precomposed and move as one unit.
