Function codepage::from_encoding

source ·
pub fn from_encoding(encoding: &'static Encoding) -> Option<u16>
Expand description

Returns the preferred code page identifier for an Encoding.

Returns None for replacement and x-user-defined.