Christian Heimes <li...@cheimes.de> added the comment:
This is not a bug in Python's imaplib but a limitation of the LDAP protocol. It's not possible to enable UTF-8 mode before the session is authenticatd. LOGIN supports only ASCII user name and password. You have to use SASL PLAIN handshake with AUTHENTICATE, see https://tools.ietf.org/html/rfc6855.html#page-5 ---------- status: -> open _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34577> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com