mirror of https://github.com/M66B/FairEmail.git
This commit is contained in:
parent
e3e0572681
commit
6b2a4dd91b
|
@ -697,7 +697,9 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
|
|||
String search = query;
|
||||
|
||||
if (!utf8) {
|
||||
search = search.replace("ß", "ss"); // Eszett
|
||||
search = search
|
||||
.replace("ß", "ss") // Eszett
|
||||
.replace("ij", "ij");
|
||||
search = Normalizer
|
||||
.normalize(search, Normalizer.Form.NFKD)
|
||||
.replaceAll("[^\\p{ASCII}]", "");
|
||||
|
|
|
@ -3978,7 +3978,9 @@ class Core {
|
|||
if (sb.length() > 0) {
|
||||
String ascii = Normalizer
|
||||
.normalize(sb.toString(), Normalizer.Form.NFKD)
|
||||
.replaceAll("\\p{InCombiningDiacriticalMarks}+", "");
|
||||
.replaceAll("\\p{InCombiningDiacriticalMarks}+", "")
|
||||
.replace("ß", "ss")
|
||||
.replace("ij", "ij");
|
||||
mbuilder.setContentText(ascii);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue