Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
11.0, 11.1
-
Windows 10
Description
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.
Attached are 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 versions 11.0 and 11.1 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.
Attachments
Attachments
Issue Links
- is duplicated by
-
NETBEANS-2374 Gradle Console Output does not show UTF-8 codepoint as Unicode character
- Resolved
-
NETBEANS-2988 Not a usual UTF8 question!
- Closed
-
NETBEANS-4269 UTF-8 not working in Java with Gradle project
- Closed
- links to