Skip to content Skip to sidebar Skip to footer

Python Imapclient/imaplib Search Unicode Issue

I'm using the IMAPClient library, but I'm getting UnicodeEncodeError when doing a search. Below is a snippet and the stack trace: imap_client = imapclient.IMAPClient('imap.gmail.co

Solution 1:

Try this out

Python IMAP search using a subject encoded with iso-8859-1

It covers utf-8 as well as iso-8859-1

Post a Comment for "Python Imapclient/imaplib Search Unicode Issue"