Hi, I’m trying to build my project which depends ...
# ktor
c
Hi, I’m trying to build my project which depends on
io.ktor:ktor-client-core:2.0.0-beta-1
and i’m running into this error:
Copy code
Uncaught Kotlin exception: kotlin.IllegalArgumentException: Failed to open iconv for charset ISO-8859-1 with error code 22
    at kfun:kotlin.Throwable#<init>(kotlin.String?){} (0x44cb61)
    at kfun:kotlin.Exception#<init>(kotlin.String?){} (0x4464bd)
    at kfun:kotlin.RuntimeException#<init>(kotlin.String?){} (0x44665d)
    at kfun:kotlin.IllegalArgumentException#<init>(kotlin.String?){} (0x44697d)
    at kfun:io.ktor.utils.io.charsets.checkErrors#internal (0x729962)
    at kfun:io.ktor.utils.io.charsets.CharsetImpl.<init>#internal (0x7289cd)
    at kfun:io.ktor.utils.io.charsets.Charsets#<init>(){} (0x72f4b3)
    at InitSingletonStrict (0x61a64d)
    at  (0x85bffc)
    at Kotlin_initRuntimeIfNeeded (0x638c06)
    at Init_and_run_start (0x436296)
    at __libc_start_main (0x7f82ef801c8d)
    at  (0x41d767)
    at  ((nil))
This is running on our Alpine Linux build server which has iconv available
Copy code
echo 'foo' | iconv -f ISO-8859-1 -t ASCII
foo
Any ideas what’s going on here?
a
Could you please file an issue with the steps for reproduction attached?