Upgrade to Unicode 16.0 and add support for almost all gemoji aliases #214
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This upgrades to Unicode 16.0, using this Unicode 16.0 gemoji PR as a base.
There wasn't much documentation explaining how emojis.json was originally generated for this repo, so I wrote a Python script to merge vdurmont/emoji-java's emojis.json file with github/gemoji's emoji.json, preserving any of this repo's aliases.
Anyway, any aliases e.g.
:like:, etc. which were a thing for this repo remain a thing after this PR.It's mostly backward compatible, main notable differences (matching github/gemoji behaviour):
:jar:now maps to 🫙 , not 🏺 (:amphora:).:beetle:now maps to 🪲 , not 🐞 (:lady_beetle:).:satellite:now maps to 📡 , not 🛰️ (:artificial_satellite:).To maintain backwards compatibility, the below differ from gemoji:
:ngmaps to 🇳🇬 , not 🆖 (:squared_ng:).:om:maps to 🇴🇲 , not 🕉️ (:om_symbol:).If you want a diff, I recommend reviewing individual commits, as the sort commit otherwise makes it hard to review.
EDIT: I added a hack to strip FE0F on all inputs prior to converting from emojis to aliases, as otherwise this repo would no longer map some emojis if people entered them without the FE0F. Commit here. I'll revert that if wanted.