Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332928 - Charset problem in History
Summary: Charset problem in History
Status: RESOLVED WORKSFORME
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 0.10.0   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-20 04:42 EST by Erwann MEST CLA
Modified: 2013-01-08 18:42 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erwann MEST CLA 2010-12-20 04:42:04 EST
Hello,

I have a charset problem in history tab. http://img87.imageshack.us/img87/8713/capturedcran20101220103.png it should be written "sacré avancement" instead of.

I've tried to read it via git command line in terminal, it's ok, no problem.
Comment 1 Robin Rosenberg CLA 2011-01-07 01:37:34 EST
Can you perform a git cat-file -p SHA-OF-YOU-COMMIT, as raw text and a piped through od -tx1

This could happen if the commit explicitly says it is iso-latin encoded, while in fact it may be UTF-8 encoded.
Comment 2 Erwann MEST CLA 2011-01-07 04:17:00 EST
This is what I've got:

git cat-file -p e0187c7e4f644390d4e8ee5160882e52b8c6397c
tree da0c4a8a309fefdc1233daeb3dbfc3d3b50cccb6
parent 55cc28de4a0dd07178dde0800efec9da554602d3
author _kud <e.mest@casus-belli.fr> 1290162798 +0100
committer _kud <e.mest@casus-belli.fr> 1290162798 +0100

Sacré avancement.


Seems to be correct so. And:

git cat-file -p e0187c7e4f644390d4e8ee5160882e52b8c6397c | od -tx1
0000000    74  72  65  65  20  64  61  30  63  34  61  38  61  33  30  39
0000020    66  65  66  64  63  31  32  33  33  64  61  65  62  33  64  62
0000040    66  63  33  64  33  62  35  30  63  63  63  62  36  0a  70  61
0000060    72  65  6e  74  20  35  35  63  63  32  38  64  65  34  61  30
0000100    64  64  30  37  31  37  38  64  64  65  30  38  30  30  65  66
0000120    65  63  39  64  61  35  35  34  36  30  32  64  33  0a  61  75
0000140    74  68  6f  72  20  5f  6b  75  64  20  3c  65  2e  6d  65  73
0000160    74  40  63  61  73  75  73  2d  62  65  6c  6c  69  2e  66  72
0000200    3e  20  31  32  39  30  31  36  32  37  39  38  20  2b  30  31
0000220    30  30  0a  63  6f  6d  6d  69  74  74  65  72  20  5f  6b  75
0000240    64  20  3c  65  2e  6d  65  73  74  40  63  61  73  75  73  2d
0000260    62  65  6c  6c  69  2e  66  72  3e  20  31  32  39  30  31  36
0000300    32  37  39  38  20  2b  30  31  30  30  0a  0a  53  61  63  72
0000320    c3  a9  20  61  76  61  6e  63  65  6d  65  6e  74  2e  0a    
0000337
Comment 3 Stefan Lay CLA 2011-06-29 04:50:55 EDT
Which eclipse version are you using and which font is used to display the commit message?
Comment 4 Stefan Lay CLA 2011-06-29 04:52:29 EDT
We could not reproduce the problem on egit 1.0 on windows 7. Do you still observe the error on a newer version of egit?
Comment 5 Stefan Lay CLA 2011-06-29 05:02:52 EDT
Another question: What do you see in the diff area of the history view? Is the character é displayed correctly there?
Comment 6 Robin Rosenberg CLA 2013-01-08 18:42:25 EST
No feedback from reporter.