0

I have tried just including my emoji in a string in python like :

print('My emoji : ')

Instead of showing the emoji : on the screen, it showed :

My emoji: []

Next, I tried using the emoji module :

import emoji
crown = emoji.emojize(':crown:')
Print('My emoji : {}'.format(crown))

But even after using the emoji module, it still showed :

My emoji: []

I'm using a computer right now. Is there a way to get the Emoji to show properly, not just as []?

  • 3
    You get literally an *open-bracket close-bracket*? Or is that your interpretation of some other square character which is being printed instead of the emoji? Then you simply don't have the font to display the character, or wherever you're outputting it to doesn't interpret the encoding correctly. – deceze May 30 '22 at 13:28
  • I dont, it just looks like that... – InfiniteCodeR May 30 '22 at 13:29
  • What are the odds you are running this on Windows which is known to suffer from issues relating to displaying Unicode characters? https://stackoverflow.com/questions/388490/how-to-use-unicode-characters-in-windows-command-line – Richie Bendall Jun 01 '22 at 09:42

0 Answers0