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

Change default charset when decoding mime parts #133

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Change default charset when decoding mime parts #133

wants to merge 1 commit into from

Conversation

VinceWilkie
Copy link

We can safely decode text mime parts with utf-8 instead of ascii because ascii is just a subset of utf-8

We can safely decode text mime parts with utf-8 instead of ascii because ascii is just a subset of utf-8
@mailgun-ci
Copy link

Can one of the admins verify this patch?

@VinceWilkie
Copy link
Author

As a side note: decoding text mime parts with ascii can become a problem if it contains unicode information. I have first hand experience with this because I had an email attachment that contained unicode but was decoded using ascii and therefore wasn't properly readable.

@b0d0nne11
Copy link
Contributor

This sounds reasonable but can you add a test for it?

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