1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-18 21:28:54 +00:00

Search: replace non ASCII by question mark

This commit is contained in:
M66B 2021-06-04 12:15:17 +02:00
parent 9d35629b36
commit ee11063b57

View file

@ -733,7 +733,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
.replace("ij", "ij");
search = Normalizer
.normalize(search, Normalizer.Form.NFKD)
.replaceAll("[^\\p{ASCII}]", "");
.replaceAll("[^\\p{ASCII}]", "?");
}
List<String> word = new ArrayList<>();