Bug 547228 - Encoding change not honored when done while editor is open
Summary: Encoding change not honored when done while editor is open
Status: REOPENED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.11   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-13 12:23 EDT by David Balažic CLA
Modified: 2021-05-05 06:05 EDT (History)
2 users (show)

See Also:


Attachments

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