如何在cmd中显示阿拉伯文字? [英] how to display arabic text in cmd?

查看:72
本文介绍了如何在cmd中显示阿拉伯文字?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为阿拉伯客户端使用webaap.在jboss控制台中,我没有得到阿拉伯文本.在阿拉伯文本中,控制台仅打印"???? ..".在这里,我发布了我的jboss控制台的快照.

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.

我也尝试过这样做,因为有一个类似的问题.类似问题我已更改为UTF-8,它也对我不起作用.然后我有chcp 1256(用于阿拉伯语).现在我可以在cmd上用阿拉伯语写.但是仍然无法获得system.out.println()控制台中的字符串,因为它是动态生成的.我使用的是xp机器.

I have tried with this also,as there is a similar question. similar question I have changed to UTF-8 and it also didn't work for me. Then i have chcp 1256(for Arabic). Now i can able to write in arabic on cmd.But still i am not getting the system.out.println() Strings in console as it is generating dynamically.I am using a xp machine.

推荐答案

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

Need to change default font settings as below,

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

like 此处,并且这里

这篇关于如何在cmd中显示阿拉伯文字?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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