--- D:\roundup-0.8.2\roundup\backends\indexer_rdbms.py Tue Jan 04 06:09:56 2005 +++ D:\Python23\Lib\site-packages\roundup\backends\indexer_rdbms.py Thu May 05 11:36:53 2005 @@ -51,7 +51,8 @@ self.db.cursor.execute(sql, (id, )) # ok, find all the words in the text - wordlist = re.findall(r'\b\w{2,25}\b', str(text).upper()) + text = unicode(text, "utf-8", "replace").upper() + wordlist = [w.encode("utf-8", "replace") for w in re.findall(r'(?u)\b\w{2,25}\b', text)] words = {} for word in wordlist: if is_stopword(word): --- D:\roundup-0.8.2\roundup\cgi\templating.py Thu Feb 17 01:08:14 2005 +++ D:\Python23\Lib\site-packages\roundup\cgi\templating.py Thu May 05 11:16:47 2005 @@ -2199,7 +2199,8 @@ klass = self.client.db.getclass(self.classname) if self.search_text: matches = self.client.db.indexer.search( - re.findall(r'\b\w{2,25}\b', self.search_text), klass) + [w.upper().encode("utf-8", "replace") for w in re.findall(r'(?u)\b\w{2,25}\b', unicode(self.search_text, "utf-8", "replace"))], + klass) else: matches = None