From b2465d8cfac41fb710d33f770ed6c0ab777edf9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20L=C3=A9v=C3=AAque?= Date: Wed, 6 Jan 2021 09:36:55 +0100 Subject: [PATCH 1/2] Fix unicode char for keycap symbols According to https://emojipedia.org/ every keycap symbols use 3 unicode codepoints (except for 10) here an example : https://emojipedia.org/keycap-digit-five/ --- src/emoji-list.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/emoji-list.js b/src/emoji-list.js index 9f0782d..1d4da7a 100644 --- a/src/emoji-list.js +++ b/src/emoji-list.js @@ -8098,7 +8098,7 @@ let emojiList = [ }, { "name": "hash", - "unicode": "0023-20e3", + "unicode": "0023-fe0f-20e3", "shortname": ":hash:", "code_decimal": "#⃣", "category": "s", @@ -8106,7 +8106,7 @@ let emojiList = [ }, { "name": "keycap_star", - "unicode": "002a-20e3", + "unicode": "002a-fe0f-20e3", "shortname": ":asterisk:", "code_decimal": "*⃣", "category": "s", @@ -8114,7 +8114,7 @@ let emojiList = [ }, { "name": "zero", - "unicode": "0030-20e3", + "unicode": "0030-fe0f-20e3", "shortname": ":zero:", "code_decimal": "0⃣", "category": "s", @@ -8122,7 +8122,7 @@ let emojiList = [ }, { "name": "one", - "unicode": "0031-20e3", + "unicode": "0031-fe0f-20e3", "shortname": ":one:", "code_decimal": "1⃣", "category": "s", @@ -8130,7 +8130,7 @@ let emojiList = [ }, { "name": "two", - "unicode": "0032-20e3", + "unicode": "0032-fe0f-20e3", "shortname": ":two:", "code_decimal": "2⃣", "category": "s", @@ -8138,7 +8138,7 @@ let emojiList = [ }, { "name": "three", - "unicode": "0033-20e3", + "unicode": "0033-fe0f-20e3", "shortname": ":three:", "code_decimal": "3⃣", "category": "s", @@ -8146,7 +8146,7 @@ let emojiList = [ }, { "name": "four", - "unicode": "0034-20e3", + "unicode": "0034-fe0f-20e3", "shortname": ":four:", "code_decimal": "4⃣", "category": "s", @@ -8154,7 +8154,7 @@ let emojiList = [ }, { "name": "five", - "unicode": "0035-20e3", + "unicode": "0035-fe0f-20e3", "shortname": ":five:", "code_decimal": "5⃣", "category": "s", @@ -8162,7 +8162,7 @@ let emojiList = [ }, { "name": "six", - "unicode": "0036-20e3", + "unicode": "0036-fe0f-20e3", "shortname": ":six:", "code_decimal": "6⃣", "category": "s", @@ -8170,7 +8170,7 @@ let emojiList = [ }, { "name": "seven", - "unicode": "0037-20e3", + "unicode": "0037-fe0f-20e3", "shortname": ":seven:", "code_decimal": "7⃣", "category": "s", @@ -8178,7 +8178,7 @@ let emojiList = [ }, { "name": "eight", - "unicode": "0038-20e3", + "unicode": "0038-fe0f-20e3", "shortname": ":eight:", "code_decimal": "8⃣", "category": "s", @@ -8186,7 +8186,7 @@ let emojiList = [ }, { "name": "nine", - "unicode": "0039-20e3", + "unicode": "0039-fe0f-20e3", "shortname": ":nine:", "code_decimal": "9⃣", "category": "s", From 397eb1fc6176a57de14e4d296a252cc933b0b0dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20L=C3=A9v=C3=AAque?= Date: Wed, 6 Jan 2021 09:46:00 +0100 Subject: [PATCH 2/2] Fix decimal codes for keycap symbols --- src/emoji-list.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/emoji-list.js b/src/emoji-list.js index 1d4da7a..701a60d 100644 --- a/src/emoji-list.js +++ b/src/emoji-list.js @@ -8100,7 +8100,7 @@ let emojiList = [ "name": "hash", "unicode": "0023-fe0f-20e3", "shortname": ":hash:", - "code_decimal": "#⃣", + "code_decimal": "#️⃣", "category": "s", "emoji_order": "2106" }, @@ -8108,7 +8108,7 @@ let emojiList = [ "name": "keycap_star", "unicode": "002a-fe0f-20e3", "shortname": ":asterisk:", - "code_decimal": "*⃣", + "code_decimal": "*️⃣", "category": "s", "emoji_order": "2107" }, @@ -8116,7 +8116,7 @@ let emojiList = [ "name": "zero", "unicode": "0030-fe0f-20e3", "shortname": ":zero:", - "code_decimal": "0⃣", + "code_decimal": "0️⃣", "category": "s", "emoji_order": "2108" }, @@ -8124,7 +8124,7 @@ let emojiList = [ "name": "one", "unicode": "0031-fe0f-20e3", "shortname": ":one:", - "code_decimal": "1⃣", + "code_decimal": "1️⃣", "category": "s", "emoji_order": "2109" }, @@ -8132,7 +8132,7 @@ let emojiList = [ "name": "two", "unicode": "0032-fe0f-20e3", "shortname": ":two:", - "code_decimal": "2⃣", + "code_decimal": "2️⃣", "category": "s", "emoji_order": "2110" }, @@ -8140,7 +8140,7 @@ let emojiList = [ "name": "three", "unicode": "0033-fe0f-20e3", "shortname": ":three:", - "code_decimal": "3⃣", + "code_decimal": "3️⃣", "category": "s", "emoji_order": "2111" }, @@ -8148,7 +8148,7 @@ let emojiList = [ "name": "four", "unicode": "0034-fe0f-20e3", "shortname": ":four:", - "code_decimal": "4⃣", + "code_decimal": "4️⃣", "category": "s", "emoji_order": "2112" }, @@ -8156,7 +8156,7 @@ let emojiList = [ "name": "five", "unicode": "0035-fe0f-20e3", "shortname": ":five:", - "code_decimal": "5⃣", + "code_decimal": "5️⃣", "category": "s", "emoji_order": "2113" }, @@ -8164,7 +8164,7 @@ let emojiList = [ "name": "six", "unicode": "0036-fe0f-20e3", "shortname": ":six:", - "code_decimal": "6⃣", + "code_decimal": "6️⃣", "category": "s", "emoji_order": "2114" }, @@ -8172,7 +8172,7 @@ let emojiList = [ "name": "seven", "unicode": "0037-fe0f-20e3", "shortname": ":seven:", - "code_decimal": "7⃣", + "code_decimal": "7️⃣", "category": "s", "emoji_order": "2115" }, @@ -8180,7 +8180,7 @@ let emojiList = [ "name": "eight", "unicode": "0038-fe0f-20e3", "shortname": ":eight:", - "code_decimal": "8⃣", + "code_decimal": "8️⃣", "category": "s", "emoji_order": "2116" }, @@ -8188,7 +8188,7 @@ let emojiList = [ "name": "nine", "unicode": "0039-fe0f-20e3", "shortname": ":nine:", - "code_decimal": "9⃣", + "code_decimal": "9️⃣", "category": "s", "emoji_order": "2117" },