mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Substitute ISO-8859-16 by ISO-8859-1
This commit is contained in:
@@ -1181,6 +1181,8 @@ public class MessageHelper {
|
||||
charset = charset.replace("\"", "");
|
||||
if ("ASCII".equals(charset.toUpperCase()))
|
||||
charset = "US-ASCII";
|
||||
else if (charset.toLowerCase().endsWith("8859-16")) // not supported by Android
|
||||
charset = null; // Use ISO8859-1 instead
|
||||
}
|
||||
|
||||
if (TextUtils.isEmpty(charset) || "US-ASCII".equals(charset.toUpperCase())) {
|
||||
|
||||
Reference in New Issue
Block a user