Unicode Version: 11.0.0
Date: 2018-05-20, 09:03:08 GMT
This page illustrates the application of the Grapheme_Cluster_Break specification. The material here is informative, not normative.
The first chart shows where breaks would appear between different sample characters or strings. The sample characters are chosen mechanically to represent the different properties used by the specification.
Each cell shows the break-status for the position between the character(s) in its row header and the character(s) in its column header. The × symbol indicates no break, while the ÷ symbol indicated a break. The cells with × are also shaded to make it easier to scan the table. For example, in the cell at the intersection of the row headed by “CR” and the column headed by “LF”, there is a × symbol, indicating that there is no break between CR and LF.
After the heavy blue line in the table are additional rows, either with different sample characters or for sequences. Some column headers may be composed, reflecting “treat as” or “ignore” rules.
If your browser handles titles (tooltips), then hovering the mouse over the row header will show a sample character of that type. Hovering over a column header will show the sample character, plus its abbreviated general category and script. Hovering over the intersected cells shows the rule number that produces the break-status. For example, hovering over the cell at the intersection of LVT and T shows ×, with the rule 8.0. Checking below the table, rule 8.0 is “( LVT | T) × T”, which is the one that applies to that case. Note that a rule is invoked only when no lower-numbered rules have applied.
Other | CR | LF | Control | Extend | RI | Prepend | SpacingMark | L | V | T | LV | LVT | ExtPict | Extend_ExtCccZwj | ZWJ_ExtCccZwj | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Other | ÷ | ÷ | ÷ | ÷ | × | ÷ | ÷ | × | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | × | × |
CR | ÷ | ÷ | × | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ |
LF | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ |
Control | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ |
Extend | ÷ | ÷ | ÷ | ÷ | × | ÷ | ÷ | × | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | × | × |
RI | ÷ | ÷ | ÷ | ÷ | × | × | ÷ | × | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | × | × |
Prepend | × | ÷ | ÷ | ÷ | × | × | × | × | × | × | × | × | × | × | × | × |
SpacingMark | ÷ | ÷ | ÷ | ÷ | × | ÷ | ÷ | × | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | × | × |
L | ÷ | ÷ | ÷ | ÷ | × | ÷ | ÷ | × | × | × | ÷ | × | × | ÷ | × | × |
V | ÷ | ÷ | ÷ | ÷ | × | ÷ | ÷ | × | ÷ | × | × | ÷ | ÷ | ÷ | × | × |
T | ÷ | ÷ | ÷ | ÷ | × | ÷ | ÷ | × | ÷ | ÷ | × | ÷ | ÷ | ÷ | × | × |
LV | ÷ | ÷ | ÷ | ÷ | × | ÷ | ÷ | × | ÷ | × | × | ÷ | ÷ | ÷ | × | × |
LVT | ÷ | ÷ | ÷ | ÷ | × | ÷ | ÷ | × | ÷ | ÷ | × | ÷ | ÷ | ÷ | × | × |
ExtPict | ÷ | ÷ | ÷ | ÷ | × | ÷ | ÷ | × | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | × | × |
Extend_ExtCccZwj | ÷ | ÷ | ÷ | ÷ | × | ÷ | ÷ | × | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | × | × |
ZWJ_ExtCccZwj | ÷ | ÷ | ÷ | ÷ | × | ÷ | ÷ | × | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | × | × |
Other | ÷ | ÷ | ÷ | ÷ | × | ÷ | ÷ | × | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | × | × |
Control | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ | ÷ |
This section shows the rules. They are mechanically modified for programmatic generation of the tables and test code, and thus do not match the UAX rules precisely. In particular:
For the original rules, see UAX #29.
0.2 | sot | ÷ | |
---|---|---|---|
0.3 | ÷ | eot | |
3.0 | CR | × | LF |
4.0 | ( Control | CR | LF ) | ÷ | |
5.0 | ÷ | ( Control | CR | LF ) | |
6.0 | L | × | ( L | V | LV | LVT ) |
7.0 | ( LV | V ) | × | ( V | T ) |
8.0 | ( LVT | T) | × | T |
9.0 | × | (Extend | ZWJ) | |
9.1 | × | SpacingMark | |
9.2 | Prepend | × | |
11.0 | ExtPict Extend* ZWJ | × | ExtPict |
12.0 | ^ (RI RI)* RI | × | RI |
13.0 | [^RI] (RI RI)* RI | × | RI |
999.0 | ÷ | Any |
The following samples illustrate the application of the rules. The blue lines indicate possible break points. If your browser supports titles (tooltips), then positioning the mouse over each character will show its name, while positioning between characters shows the number of the rule responsible for the break-status.
1 | □ □ a □ ◌̈ |
---|---|
2 | a ◌̈ |
3 | □ ن |
4 | ن □ |
5 | ᄀ ᄀ |
6 | 가 ᆨ ᄀ |
7 | 각 ᆨ ᄀ |
8 | 🇦 🇧 🇨 b |
9 | a 🇦 🇧 🇨 b |
10 | a 🇦 🇧 □ 🇨 b |
11 | a 🇦 □ 🇧 🇨 b |
12 | a 🇦 🇧 🇨 🇩 b |
13 | a □ |
14 | a ◌̈ b |
15 | a ः b |
16 | a □ b |
17 | 👶 🏿 👶 |
18 | a 🏿 👶 |
19 | a 🏿 👶 □ 🛑 |
20 | 👶 🏿 ◌̈ □ 👶 🏿 |
21 | 🛑 □ 🛑 |
22 | a □ 🛑 |
23 | ✁ □ ✁ |
24 | a □ ✁ |