How to display GREEK Characters in JDeveloper's Logging Console

时光毁灭记忆、已成空白 提交于 2020-01-03 04:50:09

问题


I am using JDeveloper 11.1.1.4.0 and i want to display Greek characters in the Debugging: IntegratedWebLogicServer - Log console.

When i try to do a System.out.print statement Greek characters display as question marks.

I have changed the Preferences>Environment>Encoding to UTF-8 but no luck.

Can anyone please help?


回答1:


I found a working solution for the problem (at least it worked for me with JDev 12.1.2.0 but I believe it should work on 11.x as well):

Add the following line in the jdk.conf (JDEV_HOME/jdeveloper/ide/bin) and restart JDeveloper:

AddVMOption  -Dfile.encoding=UTF-8



回答2:


I think you need setup UTF-8 encoding for compiler.

In your Project's properties dialog goto Compiler and set there desired character encoding.



来源:https://stackoverflow.com/questions/10698709/how-to-display-greek-characters-in-jdevelopers-logging-console

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