Expand description
Mapping between Windows code page identifiers and
encoding_rs Encoding
s.
Functions
Returns the preferred code page identifier for an
Encoding
.Maps a Windows code page identifier to an encoding_rs
Encoding
(or None
if there is no appropriate mapping).Like
to_encoding
, except returns None
when to_encoding
would return Some(REPLACEMENT)
.