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
(orNone
if there is no appropriate mapping). - Like
to_encoding
, except returnsNone
whento_encoding
would returnSome(REPLACEMENT)
.