Function xml5ever::encoding::label::encoding_from_whatwg_label
[−]
[src]
pub fn encoding_from_whatwg_label(
label: &str
) -> Option<&'static Encoding + 'static + Send + Sync>
Returns an encoding from given label, defined in the WHATWG Encoding standard, if any. Implements "get an encoding" algorithm: http://encoding.spec.whatwg.org/#concept-encoding-get