Skip to main content

detect_system_native_encoding

Function detect_system_native_encoding 

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

Detects the process-native text encoding for the current platform.

ยงErrors

Returns NativeEncodingError if the system encoding cannot be determined.