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