mirror of https://github.com/M66B/FairEmail.git
Optimization
This commit is contained in:
parent
1176ec70a0
commit
be09028110
|
@ -3848,13 +3848,13 @@ public class MessageHelper {
|
||||||
// - ISO-8859-1 / windows-1252
|
// - ISO-8859-1 / windows-1252
|
||||||
// - US-ASCII / windows-1250, windows-1252, ISO-8859-1, ISO-8859-15, UTF-8
|
// - US-ASCII / windows-1250, windows-1252, ISO-8859-1, ISO-8859-15, UTF-8
|
||||||
|
|
||||||
//if (StandardCharsets.US_ASCII.equals(detected) &&
|
if (StandardCharsets.US_ASCII.equals(detected) &&
|
||||||
// ("ISO-8859-15".equals(c.name()) ||
|
("ISO-8859-15".equals(c.name()) ||
|
||||||
// "windows-1250".equals(c.name()) ||
|
"windows-1250".equals(c.name()) ||
|
||||||
// "windows-1252".equals(c.name()) ||
|
"windows-1252".equals(c.name()) ||
|
||||||
// StandardCharsets.UTF_8.equals(c) ||
|
StandardCharsets.UTF_8.equals(c) ||
|
||||||
// StandardCharsets.ISO_8859_1.equals(c)))
|
StandardCharsets.ISO_8859_1.equals(c)))
|
||||||
// break;
|
break;
|
||||||
|
|
||||||
// Convert
|
// Convert
|
||||||
Log.w("Converting detected=" + detected + " meta=" + c);
|
Log.w("Converting detected=" + detected + " meta=" + c);
|
||||||
|
|
Loading…
Reference in New Issue