Skip to content

Conversation

@barry-scott
Copy link
Collaborator

To avoid having the email module try and fail to decode a bytes message
train using a string that was decoded as iso-8859-1. This allows all the bytes
of the message to be preserved into a string for processing.
Typical failure is for email to try to use cp-1251 that is not defined
in pythons codecs, its cp1251.

sb_filter.py will fail to handle stdin unless it is passed as bytes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants