From 3428bbbc622dbb2cd2a9c43b98e4ca9876f954eb Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 9 Apr 2020 09:47:56 +0200 Subject: [PATCH] Improved logging --- .../java/eu/faircode/email/BoundaryCallbackMessages.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/BoundaryCallbackMessages.java b/app/src/main/java/eu/faircode/email/BoundaryCallbackMessages.java index ff52b569cc..bc5320d0d8 100644 --- a/app/src/main/java/eu/faircode/email/BoundaryCallbackMessages.java +++ b/app/src/main/java/eu/faircode/email/BoundaryCallbackMessages.java @@ -424,11 +424,11 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback 0 && responses[responses.length - 1].isOK()) { - List msgnums = new ArrayList<>(); + Log.i("Boundary UTF8 search=" + query); + List msgnums = new ArrayList<>(); for (Response response : responses) if (((IMAPResponse) response).keyEquals("SEARCH")) { int msgnum; @@ -442,6 +442,9 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback 0) + Log.e("Search response=" + responses[responses.length - 1]); + // Assume no UTF-8 support String search = query.replace("ß", "ss"); // Eszett search = Normalizer.normalize(search, Normalizer.Form.NFD)