UTF7 mailbox codification error

Robert Mueller robm at fastmail.fm
Thu Feb 23 17:48:02 EST 2012


> $IMAPs1->set_unicode_folders(1);
> $IMAPs2->set_unicode_folders(1);
...
> How can I avoid this error? Or force that the method do not "convert" the
> strings.

You explicitly said you want unicode folder support, but then explicitly
pass IMAP UTF-7 folder names rather than a perl unicode string.

So just don't turn on unicode folders. eg

 $IMAPs1->set_unicode_folders(0);
 $IMAPs2->set_unicode_folders(0);

And I think you should be fine. I can't guarantee that, because we don't
use that mode any more. If it's still broken, let me know, I'll fix the
code and put it on https://github.com/robmueller/mail-imaptalk/

Rob


More information about the Info-cyrus mailing list