You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Junichi Yamamoto (Jira)" <ji...@apache.org> on 2020/07/02 15:41:00 UTC

[jira] [Updated] (NETBEANS-2526) Java Gradle projects can't handle unicode source

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

Junichi Yamamoto updated NETBEANS-2526:
---------------------------------------
    Component/s: projects - Gradle

> Java Gradle  projects can't handle unicode source
> -------------------------------------------------
>
>                 Key: NETBEANS-2526
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2526
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Gradle
>         Environment: Windows, Java 1.8, Gradle 5.13
>            Reporter: Deft Developer
>            Priority: Major
>              Labels: gradle,, java,, unicode
>
> If a java souce file contains unicode source, for example in identifiers, the built-in compiler fails to parse it, and the editor shows the wrong characters in the editor window. The file WILL compile correctly in gradle. The same sources cause no problem in ant-style Java projects. Setting 
>  "compileJava.options.encoding = 'UTF-8'" and
>  
> tasks.withType(Compile) \{
>     options.encoding = 'UTF-8'
> }
> Does not fix the NetBeans problem.
>  
> Here In Jira, I tried attaching a sample java source file, but Jira complains about a missing token. But I will try to enter some unicode source here:
>  
> public enum EnumWithUnicode {
>      Bondye,
>      Xêvioso,
>      Gû,
>      Agê,
>      Jo,
>      Lêgba;
>     public enum Family
> {         RADA, VUDÚ, VODUN;     }
> }
> [^EnumWithUnicode.java]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

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