-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
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
Emoji sequences counted as multiple characters instead of a single character #4945
Comments
From @lizmat[22:52:03] <AlexDaniel> folks, so am I getting it right that emoji skin color modifier should kinda combine with the previous character? So that we get 1 when we do .chars? FWIW, on http://unicode.org/reports/tr51/ , paragraph 2.2.3 states: "A supported emoji modifier sequence should be treated as a single grapheme cluster for editing purposes (cursor moment, deletion, etc.); word break, line break, etc.” so it feels to me that this should say 1 instead of 2: my $f = "\x1F466\x1F3FE"; say "$f $f.chars()” Liz |
From @samcvThe mentioned Emoji now pass, though there are some emoji with skin modifiers which do not yet pass though these ones include ZWJ so I am going to close this issue. We pass all of the Emoji v4 which are emoji-sequences. |
@samcv - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#127047 (status was 'resolved')
Searchable as RT127047$
The text was updated successfully, but these errors were encountered: