iconv doesn't throw exceptions, but we can safely ignore all notices here because the point of this is to probe for the best charset (so errors are to be expected)