| Summary: | Wrong character encoding in compare of HistoryView | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Mathias Kinzler <mathias.kinzler> | ||||
| Component: | UI | Assignee: | Project Inbox <egit.ui-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | knsk.mtzk, larryd, leachbj, stefan.lay, stm_ | ||||
| Version: | 0.11 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=332928 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Mathias Kinzler
I looked into this in some more detail, and it seems that the place to fix this would be to let BlobStorage implement IEncodedStorage instead of IStorage. But then we need to make sure to somehow propagate the encoding back and forth between the resources in the workspace and the Repository.... I'm also seeing this problem on Windows platform where the default file encoding in eclipse does not match actual encoding in the file. I changed the default to match and the two resources had no more differences. Created attachment 188874 [details]
A patch for this issue.
When right or left of comparing files is real file, use that file's encoding
to decode other hand.
Fixed with 17cc1ec58b6c5fa |