From 7aea5d121149b799b9342859ea66a17c1ec6342e Mon Sep 17 00:00:00 2001 From: Mark Shoulson Date: Thu, 17 Mar 2016 17:11:31 -0400 Subject: Add new Emoji file and support. emojilist is a list snipped out of UnicodeData.txt emojitrans1.pl converts it to an intermediate form, sorta XCompose-like, but with shortcuts (more XCompose-like than it needs to be, sorry), which is emoji-interim. Edit that to comment out things that shouldn't happen, choose key combos, etc. Then use emojitrans2.pl to translate that to true emoji.compose, which is an XCompose file you can include. --- emojitrans1.pl | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 emojitrans1.pl (limited to 'emojitrans1.pl') diff --git a/emojitrans1.pl b/emojitrans1.pl new file mode 100755 index 0000000..bc30602 --- /dev/null +++ b/emojitrans1.pl @@ -0,0 +1,9 @@ +#!/usr/bin/perl -n + +BEGIN {binmode(STDOUT, ":utf8");} + +print "#- $_"; +@_=split /;/; +printf qq( \{%s\} : "%s" U%s\t# %s\n), lc($_[1]),chr(hex($_[0])), $_[0], $_[1]; + + -- cgit v1.2.3