Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partially handle iso-8859-8-i encoding #298

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ptav
Copy link

@ptav ptav commented Oct 3, 2024

Cast iso-8859-8-i to iso-8859-8 in django-mailbox/utils.py:81. However message will still create challenges downstream where it gets treated as pure ASCII while generating a warning. Still better than a crash that stops processing all further emails

Casts it to iso-8859-8 but message will still create challenges downstream where it gets treated as pure ASCII while generating a warning
Attempt to do a better job than simply treating the email as ASCII
@pfouque
Copy link
Collaborator

pfouque commented Oct 8, 2024

Hello,
Thanks for your nice contribution.
Could you publish a sample eml file with this encoding so that we can add a tiny test to the test suite?

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