本文介绍了如何在JDeveloper的日志记录控制台中显示GREEK字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用JDeveloper 11.1.1.4.0,我想在 Debugging:IntegratedWebLogicServer-Log 控制台中显示希腊字符.

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

当我尝试执行System.out.print语句时,希腊字符显示为问号.

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

我已将偏好设置">环境">编码"更改为UTF-8,但是没有运气.

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

任何人都可以帮忙吗?

推荐答案

我找到了该问题的可行解决方案(至少它与JDev 12.1.2.0兼容,但我认为它也应在11.x上兼容) :

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):

在jdk.conf(JDEV_HOME/jdeveloper/ide/bin)中添加以下行,然后重新启动JDeveloper:

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

AddVMOption  -Dfile.encoding=UTF-8

这篇关于如何在JDeveloper的日志记录控制台中显示GREEK字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-14 20:36