Skip to main content

set_native_encoding

Function set_native_encoding 

Source
pub fn set_native_encoding(label: &str) -> Result<(), UnknownEncodingError>
Expand description

Overrides the detected native system encoding.

ยงErrors

Returns UnknownEncodingError if label does not map to a known encoding.