Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345160 - Wrong file encoding in compare views
Summary: Wrong file encoding in compare views
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-09 11:33 EDT by Stefan Lay CLA
Modified: 2011-08-17 12:43 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 Stefan Lay CLA 2011-05-09 11:33:57 EDT
When opening a compare editor of a file that has a
different encoding than the workspace encoding, it contains incorrect
changes.

This bug was fixed for the commit dialog with commit 17cc1ec58b6c (Gerrit http://egit.eclipse.org/r/#change,3330).

It still has to be fixed in:

- Compare With commands
- History View commands
- the new Staging View
Comment 1 Robin Stocker CLA 2011-05-21 09:06:49 EDT
Pushed changes to fix encoding issues for Compare With commands:

http://egit.eclipse.org/r/3488
http://egit.eclipse.org/r/3489
http://egit.eclipse.org/r/3490
http://egit.eclipse.org/r/3491
http://egit.eclipse.org/r/3492
Comment 2 Robin Stocker CLA 2011-05-30 04:41:26 EDT
Only one left to review.

Not all of the changes are on stable-1.0, some are only in master. Should these also be submitted for stable-1.0? These would be the ones:

http://egit.eclipse.org/r/#change,3490
http://egit.eclipse.org/r/#change,3489
Comment 3 Holger Klene CLA 2011-06-12 13:25:55 EDT
Is this also a fix for Bug 333310 ?
Comment 4 Stefan Lay CLA 2011-08-17 11:52:07 EDT
Thanks to Robin I think all the issues are solved.
Comment 5 Robin Stocker CLA 2011-08-17 12:43:29 EDT
This one is still needed:

http://egit.eclipse.org/r/#change,3948