Ken, Partha, Thanks for the explanation.
> chardet is used by the JMAP module of httpd to detect the character set of untagged 8-bit headers. Does that mean that these libs are required? If not, what would happen if not included? How Cyrus would detect the charset? Or put in other words, if they are not required, what's the benefit to use them? On the other hand, may I suggest to please add these details to the Compiling [1] page? There's already a lot of useful information, but some of the libs lack any details on what's their purpose in Cyrus and why they are beneficial/required (and if they are not used yet, maybe they shouldn't be mentioned there at all?). This could help porters and maintainers to make more educated decisions on how to package Cyrus. Thanks, Anatoli [1] https://www.cyrusimap.org/imap/developer/compiling.html On 3/6/20 19:01, Ken Murchison wrote: > > On 6/3/20 5:44 PM, Partha Susarla wrote: >> Hello Anatoli, >> On Wed, 3 Jun 2020, at 6:24 PM, Anatoli wrote: >>> Cyrus developers, >>> >>> What is the purpose/benefit of zeroskip? >>> >> Zeroskip is an append-only key-value DB, currently in experimental stage. >> >>> What is the purpose of chardet and cld2 in cyrus-imapd? >>> >> Both the character detection and language detection libraries although are >> listed in the dependencies, i don't think are being used. But I will let >> ellie/Ken respond to this. > > > chardet is used by the JMAP module of httpd to detect the character set of > untagged 8-bit headers. > > cld2 is also used by JMAP for language detection but it doesn't look like its > being used by any code on the master branch yet. I believe that Robert S. > has a dev branch that uses it. We can't ask him right now because he's on > holiday the rest of June. > >