does all windows command prompt not support emoji?

半世苍凉 提交于 2021-01-29 08:38:39

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!