iconv is actually something I'm missing on my current musl based system.
Attached is a simple version using the libc's iconv.
iconv cleanup.
An implementation of __printf__ is attached.