NWLUnicodeToUTF8
Converts a Unicode string to UTF-8 format.
N_GLOBAL_LIBRARY(nint) NWLUnicodeToUTF8 (
punicode uniStr,
nuint maxSize,
pnuint8 utf8Str,
pnuint utf8Size);
uses netwin32
Function NWLUnicodeToUTF8
(uniStr : punicode;
maxSize : nuint;
utf8Str : pnuint8;
utf8Size : pnuint
): nint;
These are common return values; see Return Values (Return Values for C) for more information.
For sample code, see utf8.c.