mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-25 17:27:00 +00:00
Reduced logging
This commit is contained in:
parent
64b8cff129
commit
acd1412301
1 changed files with 5 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue