Hi Larry,
[ ... decode in fill_cache() ... ]
Yes, the output of charset_decode1522() is intended to be fed into the Cyrus IMAP SEARCH algorithm, which ignores whitespace. It also does case folding, preventing "i;octet" searches from working.This hasn't been tested this yet since I stuck it in yesterday before going home and have just returned to the office. It should decode subjects into utf8. But it may have "interesting" unintended side-effects. So far we are only interested in decoded subjects. But decoding the comment part of addresses also has a high probability of being desired. Depends on the feed-back we get from users.Will charset_decode1522( ) strip the whitespace?
charset_decode1522() would work if it was using a different transcoding table than what is generated in the lib/ directory.
Larry