Mb supports passing an array of encodings as source and will use the first compatible encoding. We should probably emulate that behaviour with iconv.