mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-04 20:13:11 +08:00
Summary: This commit fixes the following bugs in message parsing: - we were unilaterally decoding MIME bodies as UTF-8; instead, decode according to the charset data in the mimepart header - '7bit' content-transfer-encoding means us-ascii, NOT utf-7 - only interpret valid content-transfer-encodings (previously we were trying to treat various charsets as transfer-encodings) - clearer naming: s/values/parsedMessage/ - unify snippet cleanup between plaintext & stripped HTML (merging whitespace etc.) Test Plan: units tests coming Reviewers: juan Differential Revision: https://phab.nylas.com/D3491 |
||
---|---|---|
.. | ||
isomorphic-core | ||
local-sync |