Skip to content

Change default charset when decoding mime parts#1

Open
VinceWilkie wants to merge 1 commit into
nylas:masterfrom
VinceWilkie:patch-3
Open

Change default charset when decoding mime parts#1
VinceWilkie wants to merge 1 commit into
nylas:masterfrom
VinceWilkie:patch-3

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

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