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