Skip to main content

detect_encoding

Function detect_encoding 

Source
pub fn detect_encoding(bytes: &[u8]) -> Encoding
Expand description

Detect the text encoding from a sample of bytes.