From 801f90a945da331e353c3f3d5bca2ed14b7d3359 Mon Sep 17 00:00:00 2001 From: Jorropo Date: Mon, 13 Jun 2022 21:13:45 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20add=20new=20emoji=20codepoint=20for=20Ba?= =?UTF-8?q?se256Emoji=20=F0=9F=90=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit One of the values of base256emoji was not actually an emoji. Here there be dragons instead ! See https://github.com/multiformats/go-multibase/commit/df5b7bc6ee807ace487c2d85cd8053d1c69e1108#r75683795 for context. --- base256emoji.go | 3 ++- spec | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/base256emoji.go b/base256emoji.go index 3111615..dc5e7f5 100644 --- a/base256emoji.go +++ b/base256emoji.go @@ -11,7 +11,8 @@ var base256emojiTable = [256]rune{ '🚀', '🪐', '☄', '🛰', '🌌', // Space '🌑', '🌒', '🌓', '🌔', '🌕', '🌖', '🌗', '🌘', // Moon '🌍', '🌏', '🌎', // Our Home, for now (earth) - '☉', '☀', // Our Garden, for now (sol) + '🐉', // Dragon!!! + '☀', // Our Garden, for now (sol) '💻', '🖥', '💾', '💿', // Computer // The rest is completed from https://home.unicode.org/emoji/emoji-frequency/ at the time of creation (december 2021) (the data is from 2019), most used first until we reach 256. // We exclude modifier based emojies (such as flags) as they are bigger than one single codepoint. diff --git a/spec b/spec index cffd1aa..4c8344e 160000 --- a/spec +++ b/spec @@ -1 +1 @@ -Subproject commit cffd1aa30832875d568495a7cad77f512f50b9e7 +Subproject commit 4c8344e37852773de155f587dcf5897771b3fc19