I wonder if it's possible to print Emojis in a Python 3 console on Windows. Actually, to avoid the following error:
codec can't encode character '\U0001f44d' in position 10: character maps to
<undefined>
I've used:
import emoji as moji
print(moji.emojize('Python is :thumbsup:', use_aliases=True).encode('unicode-
escape'))
which is, as expected, printing the right character:U0001f44d
without any exception
.