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 #1

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

Change default charset when decoding mime parts #1

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
@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.

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.

1 participant