pub fn detect_text_encoding(data: &[u8]) -> Option<IdentifiedEncoding>Expand description
Identifies the character set encoding family of data.
Ported from file_encoding in encoding.c.
pub fn detect_text_encoding(data: &[u8]) -> Option<IdentifiedEncoding>Identifies the character set encoding family of data.
Ported from file_encoding in encoding.c.