Created
June 2, 2020 20:17
-
-
Save amiskov/5d6c0181c590e44816dae409d1b19dd6 to your computer and use it in GitHub Desktop.
Convert list of emojis to unicode escape symobls in Elm Char format.
This file contains 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
#! /usr/bin/env python | |
# -*- coding: utf-8 -*- | |
emojis = "πππΊπππππππ΄π΅π·πΈπΉπΊπ»πΌπ½πΏπππ ππππππππππππππ―ππππ¨π²πΈπ‘πππππ¬π±π²π³π΄π΅πΆπΈπΉππππ³ππ" | |
for e in emojis: | |
print(f'\\u{{{ord(e):X}}}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment