pub fn preferred( encodings: impl Iterator<Item = Result<(Option<Encoding>, f32)>>, ) -> Result<Option<Encoding>>
Select the encoding with the largest qval or the first with qval ~= 1