Cannot display emojis in Windows Powershell or WSL Linux Terminal using Python

I am trying to print emojis in both Windows Powershell and WSL Linux Terminal using Python3.

I have tried using unicode, CLDR names and also installed the emoji library.

print("\U0001F44D")
print(emoji.emojize(':thumbs_up:'))

But in the terminal it is showing only a question mark within a box. No emoji is showing.

What is the issue here?

But if I copy the output here it is showing properly. Like this 👍



Read more here: https://stackoverflow.com/questions/64940181/cannot-display-emojis-in-windows-powershell-or-wsl-linux-terminal-using-python

Content Attribution

This content was originally published by Siladittya at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: