offlineimap

offlineimap - unicode decode errors

My main system is currently running Ubuntu 21.04. For e-mail I’m relying on neomutt together with offlineimap, which both are amazing tools. Recently offlineimap was updated/moved to offlineimap3. Looking on my system, offlineimap reports itself as OfflineIMAP 7.3.0 and dpkg tells me it is version 0.0~git20210218.76c7a72+dfsg-1. Unicode Decode Error problem Today I noticed several errors in my offlineimap sync log. Basically the errors looked like this: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 1299: invalid start byte UnicodeDecodeError: 'utf-8' codec can't decode byte 0xeb in position 1405: invalid continuation byte Solution If you encounter it as well (and you use mutt or neomutt), please have a look at this great comment on Github from Joseph Ishac (jishac) since his tip solved the issue for me.