maxwellyu1024 / bpbible

Automatically exported from code.google.com/p/bpbible
Other
0 stars 0 forks source link

Index/search with Unicode script fails #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. (optional) Index a module with a non-latin (i.e. Unicode) script. (e.g. 
Ukranian, Hebrew)
2. Copy some text from such a module and search for it.
3. Search for that text!

What is the expected output? What do you see instead?
Nothing happens.  Look at bpbible.exe.log or stdout to find the traceback 
info.

---
Traceback (most recent call last):
  File "search\searchpanel.pyc", line 274, in on_search_button
  File "search\searchpanel.pyc", line 288, in on_search
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-4: 
ordinal not in range(128)

---

Original issue reported on code.google.com by chris.morganiser on 25 Mar 2008 at 4:19

GoogleCodeExporter commented 9 years ago
This is a known issue and will not be fixed until I rewrite most of the string 
handling to handle unicode properly. Until then, it is not supported.

Original comment by benpmor...@gmail.com on 25 Mar 2008 at 11:57

GoogleCodeExporter commented 9 years ago
Is it worth adding to the README file or other documentation that languages 
other
than English may not be supported?

Original comment by jonmmor...@gmail.com on 26 Mar 2008 at 12:20

GoogleCodeExporter commented 9 years ago
Fixed in installmgr branch on SVN.
Unicode search needs lots of testing.

Original comment by benpmor...@gmail.com on 17 May 2008 at 6:26