[][src]Crate ucs2

Utility functions for the UCS-2 character encoding.

Enums

Error

Possible errors returned by the API.

Functions

decode

Decode an input UCS-2 string into a UTF-8 string.

encode

Encodes an input UTF-8 string into a UCS-2 string.

encode_with

Encode UTF-8 string to UCS-2 with a custom callback function.