Hi all! How can I force ZCatalog to use only unicode strings (UTF-8)? I'm trying to change all zope to use these charset. For that I install Zope 2.9.1 and I change on zope.conf: rest-input-encoding utf-8 rest-output-encoding utf-8 default-zpublisher-encoding utf-8 but ZCatalog don't catalog unicode if the string is not an unicode string (at least I think so) Any idea? Thanks a lot! -- Mis Cosas http://blogs.sistes.net/Garito/
The ZCatalog has little in mind with encodings. It indexes the stuff that an object offers to be indexed. You might look at TXNG 3 which deals usually much nicer with encoding, unicode etc. than ZCTextIndex. -aj --On 10. März 2006 13:57:30 +0100 Garito <garito@sistes.net> wrote:
Hi all!
How can I force ZCatalog to use only unicode strings (UTF-8)?
I'm trying to change all zope to use these charset. For that I install Zope 2.9.1 and I change on zope.conf:
rest-input-encoding utf-8 rest-output-encoding utf-8 default-zpublisher-encoding utf-8
but ZCatalog don't catalog unicode if the string is not an unicode string (at least I think so)
Any idea?
Thanks a lot!
-- Mis Cosas http://blogs.sistes.net/Garito/
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Andreas Jung wrote at 2006-3-10 14:12 +0100:
The ZCatalog has little in mind with encodings. It indexes the stuff that an object offers to be indexed. You might look at TXNG 3 which deals usually much nicer with encoding, unicode etc. than ZCTextIndex.
Or "ManagableIndex" for non full text indexes. -- Dieter
participants (3)
-
Andreas Jung -
Dieter Maurer -
Garito