hack for PL language

This commit is contained in:
Milos Kozak 2021-11-02 15:11:08 +01:00
parent 2ad7d9f4d2
commit e715167254

View file

@ -1132,6 +1132,7 @@ class SmsCommunicatorPlugin @Inject constructor(
var s = str
s = Normalizer.normalize(s, Normalizer.Form.NFD)
s = s.replace("[\\p{InCombiningDiacriticalMarks}]".toRegex(), "")
s = s.replace("ł", "l") // hack for Polish language (bug in libs)
return s
}