[Zope] Problem with TextIndexNG

Thierry FLORAC thierry.florac@onf.fr
Wed, 11 Jun 2003 15:54:11 +0200


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=20
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 ??



  Linux every day, keeps Dr Watson away...
  http://gpc.sourceforge.net -- http://www.ulthar.net