On 5.1.2007, at 19.39, Cor Bosman wrote:
Hi Timo, I see that you didnt fix the encoded subject issue. Does that mean you dont see it as a bug?
The issue is that encoded subjects (and possibly other headers) get sorted wrong. They get sorted as their encoded string instead of whatever data was encoded.
I just tested it and it worked correctly. I think your problem is
that you've not compiled iconv support for Dovecot, or alternatively
your iconv doesn't support the character set in the strings for some
reason.
Handling unknown charsets could be handled more nicely (eg. just
strip all non-ascii), but IMAP-i18n draft says this about it:
Strings encoded using unknown character encodings should never
match
when using the SEARCH command, and should sort together with
invalid
input for the SORT and THREAD commands.