OS-2408 iconv() blows up when passed (iconv_t)-1