Bug 566570 - Stop creating files in the platform default charset
Summary: Stop creating files in the platform default charset
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.17   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Carsten Hammer CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-01 13:23 EDT by Carsten Hammer CLA
Modified: 2023-03-17 12:15 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.