[Zope] Catalog and unicode

Toby Dickenson tdickenson@geminidataloggers.com
Thu, 13 Feb 2003 18:04:23 +0000


On Thursday 13 February 2003 5:35 pm, V=E1g=F3 Istv=E1n wrote:
> Hello,
>
> I have some trouble with looking up Unicode values from KeywordIndex and
> FieldIndex. I got UnicodeError, ASCII decoding error: ordinal not in
> range(128) when trying to look up an existing key from a FieldIndex with
> iso-8859-2 characters in it. Can somebody suggest a solution for this?

BTree keys must be strictly ordered. That means you cant mix unicode and=20
non-ascii plain strings in the same index. There is plenty of discussion of=
=20
this in the zodb-dev archives if you want more details.



=2D-=20
Toby Dickenson
http://www.geminidataloggers.com/people/tdickenson