mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-24 16:53:37 +00:00
Reduced logging
This commit is contained in:
parent
35e47ffc14
commit
90f73a086c
1 changed files with 4 additions and 1 deletions
|
@ -77,9 +77,12 @@ class CharsetHelper {
|
|||
|
||||
Log.i("compact_enc_det sample=" + sample.length);
|
||||
String detected = jni_detect(sample);
|
||||
if ("US-ASCII".equals(detected))
|
||||
if ("US-ASCII".equals(detected) ||
|
||||
"ISO-8859-1".equals(detected) ||
|
||||
"UTF-8".equals(detected))
|
||||
Log.w("compact_enc_det result=" + detected);
|
||||
else
|
||||
// windows-1250, windows-1257
|
||||
Log.e("compact_enc_det result=" + detected);
|
||||
|
||||
return Charset.forName(detected);
|
||||
|
|
Loading…
Reference in a new issue