Initializing help system before first use

Buffer and string encoding conversion

The functions in this section serve for converting character strings from and to UTF-8 encoding. The functions XNLSconvstrfrom and XNLSconvbuffrom return a statically allocated buffer (that is re-used each time any of these functions is called) while XNLSconvbuffrom and XNLSconvbufto require a destination buffer.

Generate a UTF-8 sequence from a Unicode code point.
Convert a text buffer to UTF-8.
Convert a text buffer from UTF-8 to a given encoding.
Convert a text string to UTF-8.
Convert a UTF-8 text string to a given encoding.
Get the corresponding code point of a UTF-8 sequence.