iso_8859
This library decodes ISO/IEC 8859 binary data into a native string. All 15 ISO/IEC 8859 encodings are supported.
Types
The ISO/IEC 8859 encodings that can be decoded. All 15 ISO/IEC 8859 encodings are supported.
pub type Encoding {
Part1
Part2
Part3
Part4
Part5
Part6
Part7
Part8
Part9
Part10
Part11
Part13
Part14
Part15
Part16
}
Constructors
-
Part1
-
Part2
-
Part3
-
Part4
-
Part5
-
Part6
-
Part7
-
Part8
-
Part9
-
Part10
-
Part11
-
Part13
-
Part14
-
Part15
-
Part16
Functions
pub fn decode_bytes(
bytes: BitArray,
encoding: Encoding,
) -> String
Converts ISO/IEC 8859 binary data to a UTF-8 string. Any bytes that are not
valid for the specified encoding are replaced with the U+FFFD
character:
�.