Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
12.0
-
None
Description
I've completed transition of legacy NetBeans Java project (it builds library code with Ant) to Gradle type. Gradle project builds fine. The last unresolved problem is with IDE editor that displays source files in system's "windows1251" encoding rather than in "utf-8". Code checker reports errors for them. Project's Properties/Sources tab no longer has a field to set common encoding for sources. So editor mistakenly applies system's encoding while sources went from Git where they are stored in UTF-8.
Partial work-around was found with [optional plugin|Gradle / Netbeans - Howto set encoding to UTF-8 in Editor and Compiler - Stack Overflow]. That's fine for small project but mine contains 1500+ source files so this solution doesn't look reasonable. Moreover, I'm not sure it's portable because I see no changes in project's file tree.