| Summary: | Encoding is broken for diff in history view | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Ilya Klyuchnikov <ilya.klyuchnikov> | ||||||
| Component: | UI | Assignee: | Stefan Lay <stefan.lay> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | caniszczyk, mathias.kinzler, matthias.sohn, stefan.lay | ||||||
| Version: | 0.8.1 | ||||||||
| Target Milestone: | 0.9.0-M3 | ||||||||
| Hardware: | Macintosh | ||||||||
| OS: | Mac OS X | ||||||||
| See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=307507 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Ilya Klyuchnikov
Created attachment 175125 [details]
screen shot of egit
Created attachment 175126 [details]
screen shot of gitX
Could be reproduced on Windows Vista. Fix proposed: http://egit.eclipse.org/r/#change,1457 merged as 81014703c6a679b3a9dcc6a0ac496319497e4512 It is fixed partially: now diff view (as I understand) uses default system encoding for rendering diffs. Just for example: on Mac default encoding is MacRoman, I use UTF-8 as default encoding in the workspace, now egit shows me diffs as if I used MacRoman encoding, - egit doesn't take into account the actual encoding of resource. However, there is a dirty workaround: I use -Dfile.encoding=UTF-8 as an extra parameter when starting eclipse, and it works for me. I pushed http://egit.eclipse.org/r/#change,1479 for review to take into account eclipse preferences and project property. Fixed as 0c90acfe3886ed886f97b3382acbee9aa6c5f2df. Thanks Stefan. Hopefully we don't take much of a performance hit. |