XNLSutf8tocode
XNLSutf8tocode |
Purpose
Synopsis
int XNLSutf8tocode(const char **src, const char *srcend);
Arguments
src
|
Reference to a pointer at the beginning of the sequence
|
srcend
|
Pointer to the character after the end of the buffer
|
Return value
Unicode code point or
-1 if the sequence is not valid or incomplete
Further information
The argument
src is updated such that it points to the byte following the decoded sequence after the function returns.
Related topics