Message2046
The fulltext search implemented in
backends\indexer_rdbms.py is not able to find words
having specific unicode characters in them. One such
character is the german 'u umlaut' ('ü'), which does
not survive the upper() statement in find().
E. g., if you search for 'Sprünge', wordlist first
contains 'SPR\xc3\x9cNGE', then 'SPR\xc3\x8cNGE'.
To fix this, i replaced line 82:
82c82,83
< l = [word.upper() for word in wordlist if 26
> len(word) > 1]
---
> l = [unicode(word, "utf-8",
"replace").upper().encode("utf-8", "replace")
> for word in wordlist if 26 > len(word) > 1]
woe@gmx.net |
|
Date |
User |
Action |
Args |
2009-02-03 14:21:29 | admin | link | issue1344046 messages |
2009-02-03 14:21:29 | admin | create | |
|