Fix for Issue2550609 diff -r e75f622180a6 roundup/backends/indexer_rdbms.py --- a/roundup/backends/indexer_rdbms.py Wed Oct 21 09:57:36 2009 +0000 +++ b/roundup/backends/indexer_rdbms.py Tue Nov 24 15:22:03 2009 -0500 @@ -64,7 +64,9 @@ self.db.cursor.execute(sql, (id, )) # ok, find all the unique words in the text - text = unicode(text, "utf-8", "replace").upper() + if not isinstance(text, unicode): + text = unicode(text, "utf-8", "replace") + text = text.upper() wordlist = [w.encode("utf-8") for w in re.findall(r'(?u)\b\w{%d,%d}\b' % (self.minlength, self.maxlength), text)]