|
|
|
|
|
by kevin_thibedeau
1600 days ago
|
|
This misses the real problem with flag emoji in that they are composed of codepoints that can be in any order. With other emoji you get a base codepoint with potential combining characters. Using a table of combining character ranges you can skip over them and isolate the logical glyph sequences. You don't need surrounding context to parse them out like flags need. |
|
But then again, flags seem to be not only Unicode-hard but post-Unicode-hard.