Bug 566570

Summary: Stop creating files in the platform default charset
Product: [Eclipse Project] JDT Reporter: Carsten Hammer <carsten.hammer>
Component: UIAssignee: Carsten Hammer <carsten.hammer>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 4.17   
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/168603
Whiteboard: stalebug

Description Carsten Hammer CLA 2020-09-01 13:23:28 EDT
In a number of situations eclipse jdt.ui seems to create files using the default charset.

https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html#defaultCharset()

A oomph checkout of jdt.ui on windows creates a workspace text file encoding of cp1252. I am not sure if it wasn't better to use utf-8 as default and allow to change to the platform encoding on request. We have a lot of issues with java files created in something else than utf-8 and then umlaut in javadoc gets broken.
Comment 1 Eclipse Genie CLA 2020-09-01 13:34:44 EDT
New Gerrit change created: https://git.eclipse.org/r/c/jdt/eclipse.jdt.ui/+/168603
Comment 2 Eclipse Genie CLA 2023-03-17 12:15:28 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.