Rémi Lapeyre <remi.lape...@henki.fr> added the comment: This is indeed an issue with formataddr, it expects the input to be ascii encoded as RFC 2822 requires.
Email is much more complicated though and has been internationalized, a summary of this work is available at https://en.wikipedia.org/wiki/Email_address#Internationalization. I think the check in formataddr is not desirable anymore and should be remove. I'm not sure wether the resulting value should be encoded using email.header or not. ---------- nosy: +remi.lapeyre _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35222> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com