prevent iconv_set_encoding throwing warning