Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
proper UTF-8 encoding of email content #585
I just ran into issues with the Email.py script that postprocessing failed because of errors like this:
Wed Nov 28 2018 01:20:01 DETAIL EMail: Script successfully started
I identified german umlauts and some other non ascii characters beeing the cause of these errors. I did some research and found out to avoid errors like this it's best practice to perform a proper encoding of the email body.
In my own environment (nzbget is running in docker on Synology NAS with DSM 6.2) where python sys.getdefaultencoding() is "ascii", everything is working fine again.