git/list[1] front-page[2] threads[3] people[4] search[5] about
 

A bug in gitview

From
RMRafał Mużyło <galtgendo@gmail.com>
Date
Nov 7, 2009, 20:50 UTC
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.

Message 1 of 1 in “A bug in gitview”
  1. Rafał MużyłoNov 7, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.