mailinfo: move check for metainfo_charset to convert_to_utf8()