Skip to content

Python3 python3 fix sb mboxtrain#7

Open
barry-scott wants to merge 48 commits intomasterfrom
python3-python3-fix-sb-mboxtrain
Open

Python3 python3 fix sb mboxtrain#7
barry-scott wants to merge 48 commits intomasterfrom
python3-python3-fix-sb-mboxtrain

Conversation

@barry-scott
Copy link
Copy Markdown
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.

2 participants