From: Rafał Mużyło Date: Sat, 07 Nov 2009 20:50:55 GMT Subject: A bug in gitview Message-ID: <20091107205055.GA2551@blackspire> When I modified a html file, that was not utf-8 encoded and commited the changes, if I select that particular commit in gitview, the content isn't shown, an error is printed instead: Traceback (most recent call last): File "/usr/bin/gitview", line 1002, in _treeview_cursor_cb self.message_buffer.set_text(unicode(message, self.encoding).encode('utf-8')) UnicodeDecodeError: 'utf8' codec can't decode byte 0xa4 in position 4723: unexpected code byte: That's of course correct, it's not utf8. 'git diff' simply shows that as hex values, there's probably a way to do the same for gitview.