Implemented that also German diacritics get detected as invalid SEPA characters (on iOS they get detected anyway, but Android seems to use UTF-8)
This commit is contained in:
parent
318266db0f
commit
2a9aaca4d8
|
@ -58,7 +58,7 @@ open class InputValidator {
|
||||||
val InvalidBicCharactersPattern = Regex("[^A-Z0-9]")
|
val InvalidBicCharactersPattern = Regex("[^A-Z0-9]")
|
||||||
|
|
||||||
|
|
||||||
val InvalidSepaCharactersPattern = Regex("[^${SepaMessageCreator.AllowedSepaCharactersExceptReservedXmlCharactersPattern}]+")
|
val InvalidSepaCharactersPattern = Regex("[[^${SepaMessageCreator.AllowedSepaCharactersExceptReservedXmlCharactersPattern}]|[ÄÖÜäöüß]]+") // diacritics are only needed on Android, seems to use UTF-8 as opposed to iOS // TODO: also add other diacritics
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue