Encoding problems [message #651395] |
Sun, 30 January 2011 06:30  |
Eclipse User |
|
|
|
Hi,
I hope this is the right place to ask this kind of question.
I've got an eclipse project/git repository that uses ISO8859-encoded files. When I compare files (Compare With/Git Index...), lines with special characters are shown as differences (as if the working tree copy was ISO-encoded, but the index copy UTF8-encoded).
When I do the same thing from the command line (git diff file.c) everything's just fine. (If it matters: my system (newest Ubuntu) uses UTF-8 encoding.)
When I change the properties of the file in eclipse (Properties/Resource/Text file encoding) comparison works fine, but normal editing does not (special characters are shown as ?.
Am I doing anything wrong? Or is this a bug?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.10865 seconds