[Zope] Problem with TextIndexNG

Andreas Jung Andreas Jung <andreas@andreas-jung.com>
Wed, 11 Jun 2003 15:59:20 +0200


Please provide the full traceback.

-aj

--On Mittwoch, 11. Juni 2003 15:54 Uhr +0200 Thierry FLORAC=20
<thierry.florac@onf.fr> wrote:

>
>   Hi,
>
> I'm currently using TextIndexNG-1.09 with my Zope site (2.6.1 release).
> I've created an Index with the following stteing :
>  - attribute name: title
>  - encoding: iso-8859-15
>  - stemmer: disabled
>  - casefolding: enabled
>  - index single characters: disabled
>  - default query parser: PyQueryParser
>  - stopwords: None
>  - normalizer: french
>  - compressed lists: disabled
>  - use converters: disabled
>  - similarity search: disabled
>
> 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.
>
> Any idea ??
>
> Thanks,
>
>   Thierry
>
> --
>   Linux every day, keeps Dr Watson away...
>   http://gpc.sourceforge.net -- http://www.ulthar.net