diff --git a/app/src/main/java/eu/faircode/email/CharsetHelper.java b/app/src/main/java/eu/faircode/email/CharsetHelper.java index ad4c0fd45e..518daa4252 100644 --- a/app/src/main/java/eu/faircode/email/CharsetHelper.java +++ b/app/src/main/java/eu/faircode/email/CharsetHelper.java @@ -81,10 +81,14 @@ class CharsetHelper { String detected = jni_detect(sample); if ("US-ASCII".equals(detected) || "ISO-8859-1".equals(detected) || + "ISO-8859-2".equals(detected) || + "windows-1250".equals(detected) || + "windows-1252".equals(detected) || + "windows-1257".equals(detected) || "UTF-8".equals(detected)) Log.w("compact_enc_det result=" + detected); else - // ISO-2022-JP, ISO-8859-2, windows-1250, windows-1252, windows-1257 + // ISO-2022-JP, GB18030 Log.e("compact_enc_det result=" + detected); if (TextUtils.isEmpty(detected))