Skip to main content

get_native_encoding

Function get_native_encoding 

Source
pub fn get_native_encoding() -> Result<&'static Encoding, NativeEncodingError>
Expand description

Returns the configured or detected native system encoding.

ยงErrors

Returns NativeEncodingError if the system encoding cannot be detected.