--- thuban/Thuban/UI/tableview.py 2006-04-12 15:15:06.000000000 +0200 +++ trunk/thuban/Thuban/UI/tableview.py 2006-08-07 10:31:22.000000000 +0200 @@ -71,7 +71,16 @@ # Renderer understands the type too,) not just strings as in the # C++ version. def GetValue(self, row, col): - record = self.table.ReadRowAsDict(row, row_is_ordinal = 1) + try: + record = self.table.ReadRowAsDict(row, row_is_ordinal = 1) + except UnicodeError: + record = dict() + for (key, val) in self.table.ReadRowAsDict(row, \ + row_is_ordinal = 1).items(): + if isinstance(val, str): + record[key] = val.decode('iso-8859-1') + else: + record[key] = val return record[self.columns[col][0]] def SetValue(self, row, col, value):