Bug 547228

Summary: Encoding change not honored when done while editor is open
Product: [Eclipse Project] Platform Reporter: David Balažic <david.balazic>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: REOPENED --- QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, loskutov
Version: 4.11   
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=547230
Whiteboard: stalebug

Description David Balažic CLA 2019-05-13 12:23:31 EDT
- set workspace default text file encoding to UTF-8
 - create a new file named test.txt (it is opened automatically editor, if not open it)
 - type in it : abc č def  (copy it from here if you will)
 - press alt-enter to bring up the Properties dialog
 - there set "Text file encoding" to CP1250
 - "Apply and Close"
 - ctrl-s to save the file
 - ctrl-w to close the editor
 - ctrl-q to reopen the file

Result:
The file content is shown as:  abc ÄŤ def

Should be: abc č def

Analysis : The file is saved with UTF-8 encoding instea of the slected (and remembered for later by Eclipse) CP1250


Version tested:
Eclipse IDE for Enterprise Java Developers.

Version: 2019-03 (4.11.0)
Build id: 20190314-1200
Comment 1 Eclipse Genie CLA 2021-05-05 00:28:47 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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.
Comment 2 David Balažic CLA 2021-05-05 06:05:21 EDT
This still happens in the current version:

Eclipse IDE for Enterprise Java and Web Developers (includes Incubating components)

Version: 2021-03 (4.19.0)
Build id: 20210312-0638