hack for PL language
This commit is contained in:
parent
2ad7d9f4d2
commit
e715167254
1 changed files with 1 additions and 0 deletions
|
@ -1132,6 +1132,7 @@ class SmsCommunicatorPlugin @Inject constructor(
|
||||||
var s = str
|
var s = str
|
||||||
s = Normalizer.normalize(s, Normalizer.Form.NFD)
|
s = Normalizer.normalize(s, Normalizer.Form.NFD)
|
||||||
s = s.replace("[\\p{InCombiningDiacriticalMarks}]".toRegex(), "")
|
s = s.replace("[\\p{InCombiningDiacriticalMarks}]".toRegex(), "")
|
||||||
|
s = s.replace("ł", "l") // hack for Polish language (bug in libs)
|
||||||
return s
|
return s
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue