Replace mb_encode_string with iconv