From: stefan Date: Tue, 24 Nov 2009 20:20:14 +0000 (+0000) Subject: Fix Issue2550609. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=10c3f02a304719f7694e819f3399a464a17aa93b;p=roundup.git Fix Issue2550609. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/roundup/trunk@4387 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/backends/indexer_rdbms.py b/roundup/backends/indexer_rdbms.py index 3155c02..bb89cec 100644 --- a/roundup/backends/indexer_rdbms.py +++ b/roundup/backends/indexer_rdbms.py @@ -69,7 +69,7 @@ class Indexer(IndexerBase): str = str.encode("utf-8", "replace") return str text = tryencode(text).upper() - wordlist = [tryencode(w) + wordlist = [w.encode("utf-8") for w in re.findall(r'(?u)\b\w{%d,%d}\b' % (self.minlength, self.maxlength), text)] words = set()