Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2480

Gradle UTF-8 Output not Displayed

    XMLWordPrintableJSON

    Details

      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

        1. NetBeans-8.2-console.txt
          2 kB
          Eugene Pliskin
        2. NetBeans-11.0-console.txt
          2 kB
          Eugene Pliskin

          Issue Links

            Activity

              People

              • Assignee:
                lkishalmi Laszlo Kishalmi
                Reporter:
                eugene-p Eugene Pliskin
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m