mirror of https://github.com/M66B/FairEmail.git
Replace ß by ss
This commit is contained in:
parent
622b40209d
commit
455e1eb89e
|
@ -224,9 +224,10 @@ public class ViewModelBrowse extends ViewModel {
|
||||||
return imessages;
|
return imessages;
|
||||||
} else {
|
} else {
|
||||||
// No UTF-8 support
|
// No UTF-8 support
|
||||||
String search = Normalizer
|
String search = state.search.replace("ß", "ss"); // Eszett
|
||||||
.normalize(state.search, Normalizer.Form.NFD)
|
search = Normalizer.normalize(search, Normalizer.Form.NFD)
|
||||||
.replaceAll("[^\\p{ASCII}]", "");
|
.replaceAll("[^\\p{ASCII}]", "");
|
||||||
|
|
||||||
Log.i("Boundary ASCII search=" + search);
|
Log.i("Boundary ASCII search=" + search);
|
||||||
SearchTerm term = new OrTerm(
|
SearchTerm term = new OrTerm(
|
||||||
new OrTerm(
|
new OrTerm(
|
||||||
|
|
Loading…
Reference in New Issue