pub fn decode(bytes: &[u8], label: Option<&str>) -> (String, Option<String>)Expand description
Decode a body according to its declared charset.
Returns the text, plus the charset label to report when the result may be
garbled — None whenever the decoding was exact.