Compromise between mb_convert_encoding and iconv