diff --git a/app/src/main/java/com/sun/mail/handlers/text_plain.java b/app/src/main/java/com/sun/mail/handlers/text_plain.java index 248d715723..3562bf1cdc 100644 --- a/app/src/main/java/com/sun/mail/handlers/text_plain.java +++ b/app/src/main/java/com/sun/mail/handlers/text_plain.java @@ -146,10 +146,7 @@ public class text_plain extends handler_base { String charset = ct.getParameter("charset"); if (charset == null) // If the charset parameter is absent, use US-ASCII. - charset = "us-ascii"; - if ("us-ascii".equals(charset) && - "text/html".equalsIgnoreCase(ct.getBaseType())) - charset = StandardCharsets.UTF_8.name(); + charset = StandardCharsets.ISO_8859_1.name(); return MimeUtility.javaCharset(charset); } catch (Exception ex) { return null; diff --git a/app/src/main/java/eu/faircode/email/MessageHelper.java b/app/src/main/java/eu/faircode/email/MessageHelper.java index 1c6b69d0a0..a006f66066 100644 --- a/app/src/main/java/eu/faircode/email/MessageHelper.java +++ b/app/src/main/java/eu/faircode/email/MessageHelper.java @@ -1907,8 +1907,11 @@ public class MessageHelper { result = HtmlHelper.flow(result); result = "