mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-25 01:06:04 +00:00
ij
This commit is contained in:
parent
e3e0572681
commit
6b2a4dd91b
2 changed files with 6 additions and 2 deletions
|
@ -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 a new issue