[
https://issues.apache.org/jira/browse/NETBEANS-2526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Deft Developer updated NETBEANS-2526:
-------------------------------------
Description:
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
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]
was:
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
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]
> 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
> 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
>
> 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
(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