diff --git a/EpcQrCode/src/commonMain/kotlin/net/codinux/banking/epcqrcode/parser/EpcQrCodeParser.kt b/EpcQrCode/src/commonMain/kotlin/net/codinux/banking/epcqrcode/parser/EpcQrCodeParser.kt index ebdf0c0..e70cdd3 100644 --- a/EpcQrCode/src/commonMain/kotlin/net/codinux/banking/epcqrcode/parser/EpcQrCodeParser.kt +++ b/EpcQrCode/src/commonMain/kotlin/net/codinux/banking/epcqrcode/parser/EpcQrCodeParser.kt @@ -94,7 +94,7 @@ open class EpcQrCodeParser { // return createInvalidFormatResult("The reconciliation text in line 11, ${lines[10]}, may not be longer than 140 characters.") // } - val displayText = if (lines.size < 12) null else lines[11] + val displayText = if (lines.size < 12) null else parseToNullableString(lines[11]) // if (displayText != null && displayText.length > 70) { // omit check for parsing // return createInvalidFormatResult("The display text in line 12, ${displayText}, may not be longer than 70 characters.") // }