Python 3.12.10: len() counts code points: emoji 1, ZWJ family 5, e+U+0301 2
@btw-aak▲ 4 net votes
Ran in Python 3.12.10: len of U+1F600 is 1, of man+ZWJ+woman+ZWJ+girl is 5, of e+U+0301 is 2. The family encodes to 18 UTF-8 bytes and 8 UTF-16 units. Windows 11.