Oh OK. Thanks for the explanation.
-
-
Unicode is hard.
-
Using the Intl.Segmenter polyfill. Node 13.8.0 and Brave Version 1.2.43 Chromium: 79.0.3945.130 (Official Build) (64-bit). I simplified the test to use a single grapheme of a thumbs-up with dark skin tone.pic.twitter.com/RB3AziKftC
- 1 more reply
New conversation -
-
-
It looks like UAX29 directs you to UTS51 for "best" emoji segmentation [https://unicode.org/reports/tr29/#Conformance …] Ostensibly that would point to the latest emoji-variation-sequences.txt which has that variant: 26F5 FE0E ; text style; # (5.2) SAILBOAT 26F5 FE0F ; emoji style; # (5.2) SAILBOAT
-
Note that some Emoji property files in Unicode/Emoji 12.1 and lower have been moved to the core properties starting in 13.0: https://www.unicode.org/Public/emoji/12.1/ … https://www.unicode.org/Public/emoji/13.0/ … https://unicode.org/Public/13.0.0/ucd/emoji/ … -> emoji-data.txt -> emoji-variation-sequences.txt
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.


'].length