Korean characters are displayed as empty boxes on JTextField

拟墨画扇 提交于 2020-01-02 06:13:42

问题


JTextfield does not show korean charaters properly. It shows empty boxes in instead of characters. Here is the screenshot of my application.


回答1:


Thats because of the fonts that you used.

According to this oracle document Korean letters is not supported by Lucida font.

Note that of the writing systems that are generally fully supported by the JRE, the Lucida fonts do not support Chinese (Simplified), Chinese (Traditional), Japanese, and Korean.

So if you use the fonts that support the korean language, it will work properly.



来源:https://stackoverflow.com/questions/42244385/korean-characters-are-displayed-as-empty-boxes-on-jtextfield

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