[Zope] Problem with TextIndexNG

Andreas Jung Andreas Jung <andreas@andreas-jung.com>
Wed, 11 Jun 2003 21:55:31 +0200


--On Mittwoch, 11. Juni 2003 20:56 Uhr +0200 Dieter Maurer=20
<dieter@handshake.de> wrote:

> Thierry FLORAC wrote at 2003-6-11 15:54 +0200:
>  > ...
>  > When I enter a phrase query on this index (using double quotes) with
> some   > accentuated characters (like "d=E9partement"), I raise an
> exception :  >   UnicodeError: ASCII encoding error: ordinal not in range
> (128).  >
>  > The same query without quotes doesn't fail.
>
> I hate these "encoding error" and get rid of them by
> setting Python's default encoding in "sitecustomize.py"
> to our default encoding.
>

But this would should a misbehaviour of the application since this error
show never occur with TextIndexNG :-)

-aj