[ZCM] [ZC] 227/ 1 Request "TextIndex: Can't index unicode strings"
Collector: Zope Bugs and Patches ...
zope-coders@zope.org
Sun, 17 Feb 2002 14:40:56 -0500
Issue #227 Update (Request) "TextIndex: Can't index unicode strings"
Status Pending, Zope/bug medium
To followup, visit:
http://collector.zope.org/Zope/227
==============================================================
= Request - Entry #1 by snej on Feb 17, 2002 2:40 pm
index_object() of TextIndex.py raises a
UnicodeError: ASCII encoding error: ordinal not in range(128)
for strings containing actually non-ASCII unicode,
because it applies str() on all input.
Workaround: Use xxx_encoding to pass unicode
in an encoding into the TextIndex.
==============================================================