gingerbeardman / Emojipedia

MacOS X Dictionary containing Emoji and their meanings
MIT License
251 stars 13 forks source link

update to newer emoji version #15

Closed tbussmann closed 5 years ago

tbussmann commented 5 years ago

Where is the file gernerator/emoji.txt coming from? I'd love to update it to a more recent version of unicode / emoji but can't find the source or way of generation of that. The structure looks like this but there is a complex html table. According to that page, production code should only rely on the official data files. It would be great if the build process could be integrated with upstream unicode data.

gingerbeardman commented 5 years ago

The generator code lists the source of the data. It is indeed http://unicode.org/emoji/charts/emoji-list.html but you can get tab delimited text from any HTML table selecting all text of the table/page and copying to clipboard using Google Chrome. This was easier for me, initially, way back, because the data files did not yet exist or was not easily discoverable (see this archive link). Since then I just kept using the same copy/paste method.

gingerbeardman commented 5 years ago

OK, I had a few minutes to see if my code still works with the latest copy/paste data from the Emoji v12.0 HTML table — it does!

So the Dictionary has now been updated: https://github.com/gingerbeardman/Emojipedia/releases/latest/

Cheers for the friendly reminder!

gingerbeardman commented 5 years ago

Migrating to the Data would be best, because the current V12.0 HTML table omits variations (such as skin tone) so there are actually less entries in the Dictionary than the previous release.

tbussmann commented 5 years ago

Thanks for the super quick response & update and congrats for the baby! I'll send a PR if I find time to rewrite the input of the generator script.

gingerbeardman commented 5 years ago

I'll get round to it this week, maybe tonight. 😉