mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-04 06:20:26 +00:00
Use NFKD compatibility decomposition
This commit is contained in:
parent
45d81dbf7d
commit
a51c1a5098
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
|
|||
|
||||
if (!protocol.supportsUtf8()) {
|
||||
search = search.replace("ß", "ss"); // Eszett
|
||||
search = Normalizer.normalize(search, Normalizer.Form.NFD)
|
||||
search = Normalizer.normalize(search, Normalizer.Form.NFKD)
|
||||
.replaceAll("[^\\p{ASCII}]", "");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue