Eugene Pliskin created NETBEANS-2480:
----------------------------------------
Summary: UTF8 not honored in Gradle output
Key: NETBEANS-2480
URL: https://issues.apache.org/jira/browse/NETBEANS-2480
Project: NetBeans
Issue Type: Bug
Components: groovy - Code
Affects Versions: 11.0
Environment: Windows 10
Reporter: Eugene Pliskin
Attachments: NetBeans-11.0-console.txt, NetBeans-8.2-console.txt
Non-ASCII characters completely filtered out of Gradle error messages, despite
"netbeans_default_options" key in "netbeans.conf" file containing
"-J-Dfile.encoding=UTF-8" clause.
Enclosed please find two build logs of the same Groovy source file with
intentional error in it.
1) NetBeans version 8.2 CORRECTLY reports an error:
[Static type checking] - The variable [параметры] is undeclared.
@ line 72, column 38.
def платформы = rv.Платформы(параметры)
^
2) While NetBeans version 11.0 completely filteres out all non-ascii letters:
[Static type checking] - The variable [] is undeclared.
@ line 72, column 38.
def = rv.()
^
Note that both attached logs contain line: "Picked up JAVA_TOOL_OPTIONS:
-Dfile.encoding=UTF-8".
Note also that outside of NetBeans this Gradle command:
gradlew -x check build > a 2>&1
produces correct UTF-8 encoded report similar to NetBeans v.8.2 output.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists