mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-24 16:53:37 +00:00
Suppress logging
This commit is contained in:
parent
02d6ff1413
commit
e592fa932c
1 changed files with 3 additions and 1 deletions
|
@ -1806,7 +1806,9 @@ public class MessageHelper {
|
|||
if (CHARSET16.contains(c))
|
||||
break; // Can't convert 16 bits charset to 8 bits
|
||||
Charset detected = CharsetHelper.detect(result);
|
||||
Log.e("Converting detected=" + detected + " meta=" + c);
|
||||
if (!(StandardCharsets.US_ASCII.equals(detected) &&
|
||||
StandardCharsets.UTF_8.equals(c)))
|
||||
Log.e("Converting detected=" + detected + " meta=" + c);
|
||||
result = new String(result.getBytes(StandardCharsets.ISO_8859_1), c);
|
||||
break;
|
||||
} catch (Throwable ex) {
|
||||
|
|
Loading…
Reference in a new issue