On Sat, May 30, 2020 at 02:52:17PM +0200, Max Gautier wrote:
But I think there is an easier solution to the problem, which involves
fewer hoops and less code.
yeah. a bit *too* easy, though:
- utf-7 support is required by the imap standard, so mbsync is actually
buggy and this needs fixing anyway. utf-8 otoh is an optional feature
that could be added on top.
- 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). it would be much easier to get that
right on top of utf-7 support, which would already link the required
iconv functionality.
_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel