MacroMilter icon indicating copy to clipboard operation
MacroMilter copied to clipboard

Debian 10: Add default encoding (sys.setdefaultencoding)

Open rrroig opened this issue 3 years ago • 0 comments

Hello Thanks for this great code. I had issues decoding attachments. Adding the 2 lines shown below fixed the errors in Debian 10. (Python 2.7.16)

reload(sys)
sys.setdefaultencoding('UTF-8')

Best

rrroig avatar Apr 28 '21 07:04 rrroig