pub fn detect_and_convert_encoding(bytes: &[u8]) -> (Encoding, Vec<u8>)
Detect encoding and convert bytes to UTF-8.