On Sun, May 31, 2020 at 02:14:39PM +0200, Oswald Buddenhagen wrote:
> - utf-7 support is required by the imap standard, so mbsync is actually
> buggy and this needs fixing anyway.

I see, that was too easy ^.

I thought of an alternative solution to the previous patches I sent :
use a custom gconv module. (using GCONV_PATH as described in man iconv(1) )
That would require compiling and shipping the module with
mbsync, but would avoid polluting the mbsync code with UTF7 IMAP -> UTF7
conversions (and vice versa).

Starting from the UTF7 module in the glibc and modifying it for
UTF7 IMAP does not seem too hard.

Do you thing that's a path worth pursuing ?

> - your patch assumes that the local encoding is utf-8. this is correct   for
> just about any modern unix system, but would royally screw up   older and
> non-standard setups, including cygwin/msys builds (no idea   whether these
> currently work).

Aren't these setups already screwed up with the current code ?


Max Gautier


_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to