1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-23 18:02:15 -05:00
k-9/tools/make_emoji

16 lines
402 B
Plaintext
Raw Normal View History

my $emoji = do 'Emoticon.pl';
use YAML;
for my $carrier qw(docomo softbank kddi) {
print "\t\t// Emoji for $carrier\n";
for $codepoint (keys %{$emoji->{$carrier}}) {
print "\t\tcase 0x$codepoint: \n";
print "\t\t\t".'buf.append("<img src=\"file:///android_asset/emoticons/'.$emoji->{$carrier}->{$codepoint}.'.gif\" alt=\"'.$emoji->{$carrier}->{$codepoint}.'\">'.");\n\t\t\tbreak;\n";
}
}