Re: Handling message encodings

Nicolas Le Manchet
 

Le 17/11/2017 10:43, Jannis Gebauer a écrit :
Are there any utility functions available that make it easier to
handle message encodings?
Hey Jannis,

Actually this is not strictly speaking about IMAP, but rather about email in general.

Python provides a few helpers to deal with such headers, see `email.header.decode_header` or this SO answer https://stackoverflow.com/a/7331577

Best,
Nicolas Le Manchet

Join imapclient@groups.io to automatically receive all group messages.