namespace encodings
Description
Character set encoding
Methods
Class methods
-
convertFromString #
encodings.convertFromString(encoding, blob) ⇒ binary.ByteString-
encoding(String) – character set encoding to use -
blob(binary.Binary) – blob to act on
Encode the characters from the internal string representation – UTF-16 – into
encoding. Uses aencodings.Transcoderinternally. -
-
convertToString #
encodings.convertToString(encoding, blob) ⇒ String-
encoding(String) – character set encoding to use -
blob(binary.Binary) – blob to act on
Decode the binary data from
encodingto the internal encoding needed for strings, which is currently UTF-16. Uses aencodings.Transcoderinternally. -