如何在cmd中显示阿拉伯文文本?

2024-01-06

I am working in a webaap for Arabian client.In jboss console i am not getting the Arabic texts.In place for Arabic text the console is printing only "????..". Here i am posting the snapshot of my jboss console.enter image description here

我也尝试过这个,因为有类似的问题。类似的问题 https://stackoverflow.com/questions/18770362/how-to-make-cmd-correctly-display-arabic-script我已更改为 UTF-8,但它对我来说也不起作用。 然后我有 chcp 1256(阿拉伯语)。现在我可以在 cmd 上用阿拉伯语编写。但是我仍然没有在控制台中获取 system.out.println() 字符串,因为它是动态生成的。我使用的是 xp 机器。


需要更改默认字体设置,如下所示,

1. Notepad         :  By changing font to "Lucida Console"
2. Notepad++    :  By changing Encoding to "UTF-8"
3. Console           :  By changing font and codepage.

similar here https://stackoverflow.com/questions/3780378/how-to-display-japanese-kanji-inside-a-cmd-window-under-windows and here http://www.howtogeek.com/howto/windows-vista/stupid-geek-tricks-enable-more-fonts-for-the-windows-command-prompt/

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

如何在cmd中显示阿拉伯文文本? 的相关文章

随机推荐