Skip to main content

encoding_names

Function encoding_names 

Source
pub fn encoding_names() -> impl Iterator<Item = (&'static str, Option<Encoding>)>
Expand description

Every name of an encoding read that decode accepts in an XML declaration, with the encoding (None for UTF-16, whose byte order is that of the byte order mark or of the first bytes).