diff options
author | Hélène <pleroma-dev@helene.moe> | 2022-07-25 16:20:12 +0200 |
---|---|---|
committer | Hélène <pleroma-dev@helene.moe> | 2022-07-25 16:20:12 +0200 |
commit | 01d396585e428ea1ca7e21868d7303a0bd8ffd6f (patch) | |
tree | 830ff7056eb7afe7eb66d99f37c7f9678a83e951 /test/fixtures | |
parent | d39f803bddb04a4c0a9e0742a437fd07f461c615 (diff) | |
download | pleroma-01d396585e428ea1ca7e21868d7303a0bd8ffd6f.tar.gz pleroma-01d396585e428ea1ca7e21868d7303a0bd8ffd6f.zip |
Emoji: implement full-qualifier using combinations
This implements fully_qualify_emoji/1, which will return the
fully-qualified version of an emoji if it knows of one, or return the
emoji unmodified if not.
This code generates combinations per emoji: for each FE0F, all possible
combinations of the character being removed or staying will be
generated. This is made as an attempt to find all partially-qualified
and unqualified versions of a fully-qualified emoji.
I have found *no cases* for which this would be a problem, after
browsing the entire emoji list in emoji-test.txt. This is safe, and,
sadly, most likely the sanest too.
Diffstat (limited to 'test/fixtures')
0 files changed, 0 insertions, 0 deletions