Skip to content

Change default charset when decoding mime parts#133

Open
VinceWilkie wants to merge 1 commit into
mailgun:masterfrom
VinceWilkie:patch-2
Open

Change default charset when decoding mime parts#133
VinceWilkie wants to merge 1 commit into
mailgun:masterfrom
VinceWilkie:patch-2

Conversation

@VinceWilkie
Copy link
Copy Markdown

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
Copy Markdown

Can one of the admins verify this patch?

@VinceWilkie
Copy link
Copy Markdown
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
Copy Markdown
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