问题
I was trying to print emoji through python but it shows up as a question mark in the box. Please help me.
print("\U0001f600")
回答1:
The Windows default console host (conhost.exe) does not support printing Unicode characters. However, the new Windows Terminal does. Run that code in the Windows Terminal (wt.exe), because it has fully Unicode support.
来源:https://stackoverflow.com/questions/62738819/does-all-windows-command-prompt-not-support-emoji