问题
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.
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