Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 👍

like image 301
Siladittya Avatar asked May 21 '26 00:05

Siladittya


1 Answers

I don't think any of the Windows Shells has proper support for emoji/unicode characters, or it may not support emojis.

If your using Windows, you may want to try Windows Terminal. It has complete Emoji support and should work with Powershell and WSL.

like image 71
sybrg Avatar answered May 22 '26 12:05

sybrg



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!