1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 02:07:12 +00:00

ISO-8859-x, WINDOWS-1252/1254 are supported by recent Android versions

This commit is contained in:
M66B 2020-03-29 15:22:10 +02:00
parent f335c12e09
commit 0ce292d331

View file

@ -67,10 +67,10 @@ public class UnknownCharsetProvider extends CharsetProvider {
if (TextUtils.isEmpty(name) ||
name.contains("ASCII") ||
name.startsWith("ISO8859") ||
name.startsWith("ISO-8859") ||
name.startsWith("WINDOWS-1252") ||
name.startsWith("WİNDOWS-1254") ||
//name.startsWith("ISO8859") ||
//name.startsWith("ISO-8859") ||
//name.startsWith("WINDOWS-1252") ||
//name.startsWith("WINDOWS-1254") ||
"x-IA5".equalsIgnoreCase(name) ||
"BASE64".equalsIgnoreCase(name) ||
"ISO".equalsIgnoreCase(name) ||