Skip to main content

get_encoding_info

Function get_encoding_info 

Source
pub fn get_encoding_info(records: &[Record]) -> (Option<&str>, Option<i32>)
Expand description

Returns the encoding name from the (first) EncodingRecord in records, if any, and the codepage from the (first) IntegerInfoRecord in records, if any.