We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use icu::segmenter::GraphemeClusterSegmenter; fn main() { let segmenter = GraphemeClusterSegmenter::new(); let text = "🇺🇸🏴"; segmenter .segment_str(text) .for_each(|i| println!("{}", i)); }
Reports the following break points:
0 4 8 36
which means "🇺🇸" is split into two graphemes, which should be disallowed per GB12.
CC: @aethanyc and @makotokato
Original bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=1890007
The text was updated successfully, but these errors were encountered:
This is fixed by #4536. Let me add the example as a test.
Sorry, something went wrong.
Add a grapheme cluster test for emoji flags
c6093f2
Fixed unicode-org#4780.
d295b64
Add a grapheme cluster test for emoji flags (#4781)
16b770c
Fixed #4780.
Successfully merging a pull request may close this issue.
Reports the following break points:
which means "🇺🇸" is split into two graphemes, which should be disallowed per GB12.
CC: @aethanyc and @makotokato
Original bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=1890007
The text was updated successfully, but these errors were encountered: