[ 
https://issues.apache.org/jira/browse/NETBEANS-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Laszlo Kishalmi updated NETBEANS-2480:
--------------------------------------
    Component/s: projects - Gradle

> Not a usual UTF8 question!
> --------------------------
>
>                 Key: NETBEANS-2480
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2480
>             Project: NetBeans
>          Issue Type: Bug
>          Components: groovy - Code, projects - Gradle
>    Affects Versions: 11.0, 11.1
>         Environment: Windows 10
>            Reporter: Eugene Pliskin
>            Assignee: Laszlo Kishalmi
>            Priority: Major
>              Labels: gradle, utf-8
>         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.
>   
>  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.
>   



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to