30 Jul
2000
30 Jul
'00
2:26 p.m.
ZCatalog can already be used easily to catalog material in one non-english language (condition: one byte per character encoding) by using the locale support. This breaks down, however, when a single catalog should index objects in different (non-english) languages. The patch at URL:http://www.dieter.handshake.de/pyprojects/zope/splitter.pat lets ZCatalog treat each character with code between 192 and 254 (inclusive) as letters, provided "Splitter.c" is compiled with "-DINT_LATIN1". This is adequate for ISO-Latin1, because all characters in the range of 192 and 254 are letters (though for different Latin-1 languages) with the exception of 215, 216 and 247. Dieter