Converts a UTF-16 text to UTF-8.
Converts a UTF-32 text to UTF-8.
Converts the text in data to UTF-8. Leaves data unchanged if it is in UTF-8 already.
Swaps the bytes of c on a little-endian machine.
Swaps the bytes of c on a little-endian machine.
Swaps the bytes of c on a big-endian machine.
Swaps the bytes of c on a big-endian machine.
Byte-swaps c.
Byte-swaps c.
For error messages.
Converts various Unicode encoding formats to UTF-8.