Last active
May 29, 2023 12:37
-
-
Save benigumocom/d0247d2e93fcf68e48852070ab61e776 to your computer and use it in GitHub Desktop.
【Python】絵文字を含む Unicode 文字列の文字数をカウントする方法と文字ごとの構成要素 👉 https://android.benigumo.com/20230529/python-unicode-emoji/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data = ('aAあ' | |
# Emoji 1.0 😀😍 - Grinning Face | Smiling Face with Heart-Eyes | |
# https://emojipedia.org/emoji-1.0/ | |
'\U0001F600' | |
'\U0001F60D' | |
# 13.0 🥸🐻❄️ - Disguised Face | Polar Bear | |
# https://emojipedia.org/emoji-13.0/ | |
'\U0001F978' | |
'\U0001F43B\U0000200D\U00002744\U0000FE0F' | |
# 13.1 😵💫🧑🏻❤️🧑🏼 - Face with Spiral Eyes | Kiss: Light Skin Tone | |
# https://emojipedia.org/emoji-13.1/ | |
'\U0001F635\U0000200D\U0001F4AB' | |
'\U0001F9D1\U0001F3FB\U0000200D\U00002764\U0000FE0F\U0000200D\U0001F9D1\U0001F3FC' | |
# 14.0 🫡🫶 - Saluting Face | Heart Hands | |
# https://emojipedia.org/emoji-14.0/ | |
'\U0001FAE1' | |
'\U0001FAF6' | |
# 15.0 🪿🫛 - Goose | Pea Pod | |
# https://emojipedia.org/emoji-15.0/ | |
'\U0001FABF' | |
'\U0001FADB' | |
# 15.1 🍋🟩🙂↕️ - Lime | Head Shaking Vertically | |
# https://emojipedia.org/emoji-15.1/ | |
'\U0001F34B\U0000200D\U0001F7E9' | |
'\U0001F642\U0000200D\U00002195\U0000FE0F') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment