From 90a00eda1beab62da99fb37dc409fede751e9c73 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 5 May 2021 15:36:00 +0200 Subject: [PATCH] Improved debug info --- app/src/main/java/eu/faircode/email/HtmlHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/HtmlHelper.java b/app/src/main/java/eu/faircode/email/HtmlHelper.java index 4f9e92060f..55e5c86f43 100644 --- a/app/src/main/java/eu/faircode/email/HtmlHelper.java +++ b/app/src/main/java/eu/faircode/email/HtmlHelper.java @@ -2525,7 +2525,7 @@ public class HtmlHelper { ssb.replace(i, i + 1, "_"); else if (kar == '\u00A0') ssb.replace(i, i + 1, "•"); - else if (!Character.isLetterOrDigit(kar)) + else if (!Helper.isPrintableChar(kar)) ssb.replace(i, i + 1, "{" + Integer.toHexString(kar) + "}"); }