jw
05/13/2024, 3:02 PMCaused by: kotlin.IllegalArgumentException: Failed to open iconv for charset ISO-8859-1 with error code 22
at 0 example.kexe 0xea833b kfun:kotlin.Throwable#<init>(kotlin.String?){} + 91
at 1 example.kexe 0xea2ec3 kfun:kotlin.Exception#<init>(kotlin.String?){} + 83
at 2 example.kexe 0xea3093 kfun:kotlin.RuntimeException#<init>(kotlin.String?){} + 83
at 3 example.kexe 0xea3263 kfun:kotlin.IllegalArgumentException#<init>(kotlin.String?){} + 83
at 4 example.kexe 0x14df68f kfun:io.ktor.utils.io.charsets#checkErrors(kotlinx.cinterop.CPointer<out|kotlinx.cinterop.CPointed>?;kotlin.String){} + 639
at 5 example.kexe 0x14df0c3 kfun:io.ktor.utils.io.charsets.CharsetIconv.<init>#internal + 515
at 6 example.kexe 0x14ded53 kfun:io.ktor.utils.io.charsets.Charsets#<init>(){} + 275
at 7 example.kexe 0x14dec03 kfun:io.ktor.utils.io.charsets.Charsets.$init_global#internal + 147
at 8 example.kexe 0x15dc723 CallInitGlobalPossiblyLock + 487
at 9 example.kexe 0x14dee87 kfun:io.ktor.utils.io.charsets.Charsets#<get-$instance>#static(){}io.ktor.utils.io.charsets.Charsets + 71
hfhbd
05/13/2024, 3:16 PMjw
05/13/2024, 3:17 PMjw
05/13/2024, 3:17 PMjw
05/13/2024, 3:18 PMjw
05/13/2024, 3:24 PMjw
05/13/2024, 3:24 PMjw
05/13/2024, 3:25 PMjw
05/13/2024, 3:33 PMjw
05/13/2024, 4:00 PMe5l
05/13/2024, 5:29 PMe5l
05/13/2024, 5:30 PMiconvconfig
)jw
05/13/2024, 5:31 PMby lazy
and it starts working, so just having a fallback or making it lazy would be enoughjw
05/13/2024, 5:31 PMjw
05/13/2024, 5:43 PM[root@rk3326_64:/]# iconv
/bin/sh: iconv: not found
[root@rk3326_64:/]# iconvconfig
/bin/sh: iconvconfig: not found
[root@rk3326_64:/]# locale
/bin/sh: locale: not found
[root@rk3326_64:/]# charsets
/bin/sh: charsets: not found
hfhbd
05/13/2024, 8:39 PMjw
05/13/2024, 8:56 PMjw
05/15/2024, 1:18 PMhfhbd
05/15/2024, 1:43 PMjw
05/15/2024, 1:43 PMjw
05/15/2024, 1:44 PMhfhbd
05/15/2024, 1:45 PMHenri Gourvest
06/15/2024, 8:47 AM