From ac7b11e2f61185c68f722de331126120bd5b68a6 Mon Sep 17 00:00:00 2001 From: dankito Date: Fri, 4 Oct 2024 07:11:46 +0200 Subject: [PATCH] Added charset name --- .../banking/epcqrcode/EpcQrCodeCharacterSet.kt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/EpcQrCode/src/commonMain/kotlin/net/codinux/banking/epcqrcode/EpcQrCodeCharacterSet.kt b/EpcQrCode/src/commonMain/kotlin/net/codinux/banking/epcqrcode/EpcQrCodeCharacterSet.kt index 23d9f95..f5b5c91 100644 --- a/EpcQrCode/src/commonMain/kotlin/net/codinux/banking/epcqrcode/EpcQrCodeCharacterSet.kt +++ b/EpcQrCode/src/commonMain/kotlin/net/codinux/banking/epcqrcode/EpcQrCodeCharacterSet.kt @@ -1,22 +1,22 @@ package net.codinux.banking.epcqrcode -enum class EpcQrCodeCharacterSet(val code: Int) { +enum class EpcQrCodeCharacterSet(val code: Int, val charsetName: String) { - UTF_8(1), + UTF_8(1, "UTF-8"), - ISO_8895_1(2), + ISO_8895_1(2, "ISO-8859-1"), - ISO_8895_2(3), + ISO_8895_2(3, "ISO-8859-2"), - ISO_8895_4(4), + ISO_8895_4(4, "ISO-8859-4"), - ISO_8895_5(5), + ISO_8895_5(5, "ISO-8859-5"), - ISO_8895_7(6), + ISO_8895_7(6, "ISO-8859-7"), - ISO_8895_10(7), + ISO_8895_10(7, "ISO-8859-10"), - ISO_8895_15(8) + ISO_8895_15(8, "ISO-8859-15") } \ No newline at end of file