Common run-time context definitions.
EXTERNRT int rtxUTF8ToLatin1(const OSUTF8CHAR *inbuf, int inlen, OSUTF8CHAR *outbuf, int outbufsize)
This function converts a UTF-8 encoded byte stream into an ISO 8859-1 encoded string.
EXTERNRT int rtxLatin1ToUTF8(const OSUTF8CHAR *inbuf, int inlen, OSUTF8CHAR *outbuf, int outbufsize)
This function converts an ISO 8859-1 encoded string into a UTF-8 string.
EXTERNRT int rtxStreamUTF8ToLatin1(OSCTXT *pctxt, const OSUTF8CHAR *inbuf, size_t inlen)
This function converts a UTF-8 encoded byte stream into an ISO 8859-1 encoded string, and write it to stream.