如何让PyCharm在其控制台中显示unicode数据? [英] How to get PyCharm to display unicode data in its console?

查看:966
本文介绍了如何让PyCharm在其控制台中显示unicode数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经切换到PyCharm并且使用它进行了爆炸。我为使用非英语语言(即希伯来语和阿拉伯语)的项目编写代码,需要偶尔调试编码。出于某种原因,PyCharm不会在其调试控制台中显示Unicode字符。

I have switched over to PyCharm and have had a blast using it. I code for projects that use languages other than English (i.e. Hebrew and Arabic) and need to debug encodings once in a while. For some reason, PyCharm will not display Unicode characters in its debug console.

我已将IDE编码设置为UTF-8,但它没有帮助。

I have set the IDE encoding to UTF-8 but it did not help.

任何想法?

推荐答案

您需要更改控制台字体到包含所需Unicode字形的那个:

You need to change the console font to the one which contains the required Unicode glyphs:

这篇关于如何让PyCharm在其控制台中显示unicode数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆