how to display arabic text in cmd?

我的梦境 提交于 2021-01-23 06:24:38

问题


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

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.


回答1:


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.

similar here and here



来源:https://stackoverflow.com/questions/28065818/how-to-display-arabic-text-in-cmd

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