eclipse-jdt / eclipse-jdt/eclipse.jdt.core
Change Java properties to UTF-8
Open
enhancement
- Dominant language
- Java
- Stars
- 237
- Forks
- 195
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 47
Description
jdt.core defines the content type and encoding for Java properties files, which is ISO-8859-1. However, since Java 9 UTF-8 is a valid encoding for properties: https://openjdk.org/jeps/226
I want to suggest changing the default encoding from ISO-8859-1 to UTF-8. I'm not sure if it would be possible to have a content describer implementation to dynamically decide this based on the Java compiler settings of a project.
This is where you find it in the UI later:

Contributor guide
Assessment
This issue has not been assessed yet.