{"thread":{"id":"21523","subject":"A bug in gitview","startedAt":"2009-11-07T20:50:55Z","lastAt":"2009-11-07T20:50:55Z","messageCount":1,"participants":["Rafał Mużyło"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"127056","messageId":"20091107205055.GA2551@blackspire","threadId":"21523","inReplyTo":null,"subject":"A bug in gitview","fromName":"Rafał Mużyło","fromEmail":"galtgendo@gmail.com","sentAt":"2009-11-07T20:50:55Z","receivedAt":"2009-11-07T20:50:55Z","isPatch":false,"sender":{"key":"galtgendo@gmail.com","avatar":null},"body":"When I modified a html file, that was not utf-8\nencoded and commited the changes, if I select\nthat particular commit in gitview, the content\nisn't shown, an error is printed instead:\n\nTraceback (most recent call last):\n  File \"/usr/bin/gitview\", line 1002, in _treeview_cursor_cb\n    self.message_buffer.set_text(unicode(message, self.encoding).encode('utf-8'))\nUnicodeDecodeError: 'utf8' codec can't decode byte 0xa4 in position 4723: \nunexpected code byte:\n\nThat's of course correct, it's not utf8.\n'git diff' simply shows that as hex values,\nthere's probably a way to do the same for\ngitview.\n"}]}