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:
dankito 2020-10-05 01:29:15 +02:00
parent 318266db0f
commit 2a9aaca4d8
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ open class InputValidator {
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
}