Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

grapheme cluster

What a reader sees as one character, which may be several chars.

A grapheme cluster is a user-perceived character as defined by Unicode's UAX #29 (for example e plus a combining accent, or an emoji sequence); Rust's standard library does not split them, the unicode-segmentation crate does.

Loading interactive…

Examples

  • "e\u{301}" shows as one é but has chars().count() 2 and len() 3.

Read the full section →